diff --git a/src/DIRAC/ResourceStatusSystem/Command/FreeDiskSpaceCommand.py b/src/DIRAC/ResourceStatusSystem/Command/FreeDiskSpaceCommand.py index 525ac720e75..be80e00e6dd 100644 --- a/src/DIRAC/ResourceStatusSystem/Command/FreeDiskSpaceCommand.py +++ b/src/DIRAC/ResourceStatusSystem/Command/FreeDiskSpaceCommand.py @@ -158,8 +158,8 @@ def doCache(self): return S_ERROR(errno.ENODATA, "No occupancy recorded") # results are normally in 'MB' - free = result["Value"][0][3] - total = result["Value"][0][4] + free = result["Value"][0][2] + total = result["Value"][0][3] free = convertSizeUnits(free, "MB", unit) total = convertSizeUnits(total, "MB", unit)