tools/qvm-ls: clarify that disk usage is in percents
This commit is contained in:
parent
b16f3ab79b
commit
8584ca4057
@ -325,7 +325,7 @@ def calc_used(vm, volume_name):
|
||||
if size == 0:
|
||||
return 0
|
||||
usage = calc_usage(vm, volume_name)
|
||||
return usage * 100 // size
|
||||
return '{}%'.format(usage * 100 // size)
|
||||
|
||||
|
||||
# todo maxmem
|
||||
|
Loading…
Reference in New Issue
Block a user