Skip to content

Commit

Permalink
fix(summary): Correct to match PVE Datacenter UI
Browse files Browse the repository at this point in the history
  • Loading branch information
lperdereau committed Oct 30, 2024
1 parent 396d54c commit 380a6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pvecontrol/actions/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 380a6a9

Please sign in to comment.