qvm-ls: display memory as integer number
This commit is contained in:
parent
d5c9328a8c
commit
0659e372ee
@ -349,7 +349,7 @@ Column('GATEWAY',
|
||||
doc='Network gateway.')
|
||||
|
||||
Column('MEMORY',
|
||||
attr=(lambda vm: vm.get_mem() / 1024 if vm.is_running() else None),
|
||||
attr=(lambda vm: vm.get_mem() // 1024 if vm.is_running() else None),
|
||||
doc='Memory currently used by VM')
|
||||
|
||||
Column('DISK',
|
||||
|
Loading…
Reference in New Issue
Block a user