Exception: KubernetesDeploy::RestartTask::DeploymentNotFoundError
- Inherits:
-
FatalDeploymentError
- Object
- StandardError
- FatalDeploymentError
- KubernetesDeploy::RestartTask::DeploymentNotFoundError
- Defined in:
- lib/kubernetes-deploy/restart_task.rb
Instance Method Summary collapse
-
#initialize(name, namespace) ⇒ DeploymentNotFoundError
constructor
A new instance of DeploymentNotFoundError.
Constructor Details
#initialize(name, namespace) ⇒ DeploymentNotFoundError
Returns a new instance of DeploymentNotFoundError.
10 11 12 |
# File 'lib/kubernetes-deploy/restart_task.rb', line 10 def initialize(name, namespace) super("Deployment `#{name}` not found in namespace `#{namespace}`. Aborting the task.") end |