From 10115445334f3e757a6f4aabb12ebc5a71e7c6b7 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Wed, 13 Apr 2022 10:01:12 +0300 Subject: [PATCH] Fix copy breaks agent and nulls the worker name --- clearml_agent/commands/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clearml_agent/commands/worker.py b/clearml_agent/commands/worker.py index 589e9c5..6b5b056 100644 --- a/clearml_agent/commands/worker.py +++ b/clearml_agent/commands/worker.py @@ -1795,7 +1795,7 @@ class Worker(ServiceCommandSection): def _apply_extra_configuration(self): # store a few things we updated in runtime (TODO: we should list theme somewhere) agent_config = self._session.config["agent"].copy() - agent_config_keys = ["cuda_version", "cudnn_version", "default_python", "worker_id", "debug"] + agent_config_keys = ["cuda_version", "cudnn_version", "default_python", "worker_id", "worker_name", "debug"] try: self._session.load_vaults() except Exception as ex: