Skip to content

Commit

Permalink
Merge pull request #7768 from fstagni/80_rss_fix_ban
Browse files Browse the repository at this point in the history
[8.0] RSS fix: actually specify a site and comment (really old bug)
  • Loading branch information
chrisburr committed Aug 29, 2024
2 parents e4064eb + f598f3c commit cfe7863
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 cfe7863

Please sign in to comment.