Skip to content

Commit

Permalink
Merge pull request #11389 from todor-ivanov/bugfix_MSUnmerged_Changed…
Browse files Browse the repository at this point in the history
…URL_fix-11388

Change RucioConMon APIs' prefix.
  • Loading branch information
amaltaro authored Dec 13, 2022
2 parents 9d8829f + d13fbd7 commit 9a47ce4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/python/WMCore/Services/RucioConMon/RucioConMon.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def getRSEStats(self):
update timestamps for all RSEs known to CMS Rucio
:return: A dictionary
"""
uri = "/WM/stats"
uri = "stats"
rseStats = self._getResult(uri, callname='stats')
return rseStats

Expand All @@ -118,11 +118,11 @@ def getRSEUnmerged(self, rseName, zipped=False):
# reading/streaming from file. This will prevent any set arithmetic
# in the future.
if not zipped:
uri = "WM/files?rse=%s&format=json" % rseName
uri = "files?rse=%s&format=json" % rseName
rseUnmerged = self._getResult(uri, callname=rseName)
return rseUnmerged
else:
uri = "WM/files?rse=%s&format=raw" % rseName
uri = "files?rse=%s&format=raw" % rseName
callname = '{}.zipped'.format(rseName)
rseUnmerged = self._getResultZipped(uri, callname=callname, clearCache=True)
return rseUnmerged

0 comments on commit 9a47ce4

Please sign in to comment.