Skip to content

Commit

Permalink
sweep: #7768 RSS fix: actually specify a site and comment (really old…
Browse files Browse the repository at this point in the history
… bug)
  • Loading branch information
fstagni authored and web-flow committed Aug 29, 2024
1 parent cba6173 commit 10abba0
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 10abba0

Please sign in to comment.