From 380a6a9b3645387096b836c0e7d594a5fee4ca29 Mon Sep 17 00:00:00 2001 From: Louis PERDEREAU Date: Wed, 30 Oct 2024 17:02:25 +0100 Subject: [PATCH] fix(summary): Correct to match PVE Datacenter UI --- src/pvecontrol/actions/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pvecontrol/actions/cluster.py b/src/pvecontrol/actions/cluster.py index 2d07939..6f22163 100644 --- a/src/pvecontrol/actions/cluster.py +++ b/src/pvecontrol/actions/cluster.py @@ -36,7 +36,7 @@ def action_summary(proxmox, args): naturalsize(metrics['memory']['usage'], binary=True, format="%.2f"), naturalsize(metrics['memory']['total'], binary=True, format="%.2f"), metrics['memory']['percent'], - naturalsize(metrics['memory']['allocated']), + naturalsize(metrics['memory']['allocated'], binary=True, format="%.2f"), ) metrics_disk_output = "{}/{}({:.1f}%)".format(