qvm-ls: display memory as integer number

This commit is contained in:
Pawel Marczewski 2020-01-15 17:27:41 +01:00
parent d5c9328a8c
commit 0659e372ee
No known key found for this signature in database
GPG Key ID: DE42EE9B14F96465

View File

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