From 5f57692b54987af8a89c0980fd0440cd3a951191 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Wed, 28 Oct 2026 14:49:03 +0100 Subject: [PATCH] fix: adjust position --- .../ResourceStatusSystem/Command/FreeDiskSpaceCommand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)