tools/qvm-ls: clarify that disk usage is in percents

This commit is contained in:
Marek Marczykowski-Górecki 2017-12-22 23:24:48 +01:00
parent b16f3ab79b
commit 8584ca4057
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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