🐛 Fix parsing bug

This commit is contained in:
andreas.dinauer 2025-11-16 15:28:17 +01:00
parent 92aa205475
commit eebb2714df

View File

@ -67,6 +67,6 @@ public class NodeDiskService
LOG.errorf("Cannot parse metrics line '%s'", line); LOG.errorf("Cannot parse metrics line '%s'", line);
} }
} }
return new NodeDiskMetrics(Integer.parseInt(result.get("percentage_used")), Long.parseLong(result.get("total-space"))); return new NodeDiskMetrics(Integer.parseInt(result.get("percentage-used")), Long.parseLong(result.get("total-space")));
} }
} }