lib/command/run.rb in cpl-1.1.1 vs lib/command/run.rb in cpl-1.1.2.rc.0

- old
+ new

@@ -109,10 +109,10 @@ if config.options["use_local_token"] container_spec["env"] << { "name" => "CONTROLPLANE_TOKEN", "value" => ControlplaneApiDirect.new.api_token } end # Create workload clone - cp.apply("kind" => "workload", "name" => one_off, "spec" => spec) + cp.apply_hash("kind" => "workload", "name" => one_off, "spec" => spec) end def runner_script # rubocop:disable Metrics/MethodLength script = Scripts.helpers_cleanup