From 2f50a4f32227a5c5c2650d908dd853517bd620a6 Mon Sep 17 00:00:00 2001 From: aldbr Date: Wed, 11 Oct 2023 09:30:53 +0200 Subject: [PATCH] fix: get setup from gConfig in ComponentSupervisionAgent --- src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py b/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py index 89505750154..8d67642b8d8 100644 --- a/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py +++ b/src/DIRAC/FrameworkSystem/Agent/ComponentSupervisionAgent.py @@ -121,7 +121,7 @@ def logError(self, errStr, varMsg=""): def beginExecution(self): """Reload the configurations before every cycle.""" - self.setup = self.am_getOption("Setup", self.setup) + self.setup = gConfig.getValue("/DIRAC/Setup", self.setup) self.enabled = self.am_getOption("EnableFlag", self.enabled) self.restartAgents = self.am_getOption("RestartAgents", self.restartAgents) self.restartExecutors = self.am_getOption("RestartExecutors", self.restartExecutors)