🐛 Fix parsing bug
This commit is contained in:
parent
92aa205475
commit
eebb2714df
@ -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")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user