Skip to content

Commit

Permalink
Merge pull request #7394 from sfayer/fix_platform
Browse files Browse the repository at this point in the history
[8.0] Correctly collect platform list from queues
  • Loading branch information
fstagni committed Jan 16, 2024
2 parents 5df0f1d + d21ac13 commit f47c2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ def beginExecution(self):
return result

self.queueDict = result["Value"]
self.platforms = []
for __queueName, queueDict in self.queueDict.items():
# Update self.sites
if queueDict["Site"] not in self.sites:
self.sites.append(queueDict["Site"])

# Update self.platforms, keeping entries unique and squashing lists
self.platforms = []
if "Platform" in queueDict["ParametersDict"]:
platform = queueDict["ParametersDict"]["Platform"]
oldPlatforms = set(self.platforms)
Expand Down

0 comments on commit f47c2b9

Please sign in to comment.