Skip to content

Commit

Permalink
fix: get setup from gConfig in ComponentSupervisionAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Oct 11, 2023
1 parent fdddd04 commit 2f50a4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2f50a4f

Please sign in to comment.