Skip to content

Commit

Permalink
Merge pull request #7770 from DIRACGridBot/cherry-pick-2-cfe786390-in…
Browse files Browse the repository at this point in the history
…tegration

[sweep:integration] RSS fix: actually specify a site and comment (really old bug)
  • Loading branch information
fstagni committed Aug 29, 2024
2 parents cba6173 + 10abba0 commit 89ae7ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DIRAC/ResourceStatusSystem/Client/SiteStatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ def setSiteStatus(self, site, status, comment="No comment"):

else:
if status in ["Active", "Degraded"]:
result = WMSAdministratorClient().allowSite()
result = WMSAdministratorClient().allowSite(site, comment)
else:
result = WMSAdministratorClient().banSite()
result = WMSAdministratorClient().banSite(site, comment)

return result

Expand Down

0 comments on commit 89ae7ff

Please sign in to comment.