From 9af0f9fe41816d1f0c458d860d937b30f384f6a8 Mon Sep 17 00:00:00 2001 From: clearml <> Date: Mon, 28 Oct 2024 18:12:22 +0200 Subject: [PATCH] Fix reload method is found in the config object --- 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 3a12040..13ba033 100644 --- a/clearml_agent/commands/worker.py +++ b/clearml_agent/commands/worker.py @@ -1692,7 +1692,7 @@ class Worker(ServiceCommandSection): def reload_config(self): try: - reloaded = self._session.reload() + reloaded = self._session.config.reload() except Exception as ex: self.log("Failed reloading config file") self.log_traceback(ex)