lib/krane/cli/run_command.rb in kubernetes-deploy-0.30.0 vs lib/krane/cli/run_command.rb in kubernetes-deploy-0.31.0
- old
+ new
@@ -31,14 +31,14 @@
default: '',
},
}
def self.from_options(namespace, context, options)
- require "kubernetes-deploy/runner_task"
- runner = KubernetesDeploy::RunnerTask.new(
+ require "krane/runner_task"
+ runner = ::Krane::RunnerTask.new(
namespace: namespace,
context: context,
- max_watch_seconds: KubernetesDeploy::DurationParser.new(options["global-timeout"]).parse!.to_i,
+ max_watch_seconds: ::Krane::DurationParser.new(options["global-timeout"]).parse!.to_i,
)
runner.run!(
verify_result: options['verify-result'],
task_template: options['template'],