Skip to content

Commit

Permalink
fix: actually specify a site and comment (really old bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Aug 28, 2024
1 parent e4064eb commit f598f3c
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 f598f3c

Please sign in to comment.