lib/command/run.rb in cpl-1.3.0 vs lib/command/run.rb in cpl-1.4.0

- old
+ new

@@ -102,10 +102,11 @@ # Set runner container_spec["env"] ||= [] container_spec["env"] << { "name" => "CONTROLPLANE_RUNNER", "value" => runner_script } if config.options["use_local_token"] - container_spec["env"] << { "name" => "CONTROLPLANE_TOKEN", "value" => ControlplaneApiDirect.new.api_token } + container_spec["env"] << { "name" => "CONTROLPLANE_TOKEN", + "value" => ControlplaneApiDirect.new.api_token[:token] } end # Create workload clone cp.apply_hash("kind" => "workload", "name" => workload_clone, "spec" => spec) end