Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Fix - disk list size
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Apr 29, 2020
1 parent 0d88338 commit dc8c1b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vcd_cli/disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def list_disks(ctx):
'owner':
disk.Owner.User.get('name'),
'size':
humanfriendly.format_size(int(disk.get('size'))),
humanfriendly.format_size(int(disk.get('sizeMb'))),
'size_bytes':
disk.get('size'),
disk.get('sizeMb'),
'status':
VCLOUD_STATUS_MAP.get(int(disk.get('status'))),
'vms_attached':
Expand Down

0 comments on commit dc8c1b4

Please sign in to comment.