Skip to content

Commit

Permalink
fix volumes size display
Browse files Browse the repository at this point in the history
  • Loading branch information
ryohkhn committed Jun 4, 2024
1 parent dfadfeb commit e718a9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions osc_tui/popup.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,13 +672,13 @@ def exit():
def editVolume(form, volume, form_color='STANDOUT'):
id = volume[0]
type = volume[1]
size = volume[2]
size = volume[3]
vm_id = volume[5]
#device_name = volume[6]
#iops = volume[7]

F = displayPopup(
name="{} ({}), {}gib, linked to: {}".format(id, type, size, vm_id))
name="{} ({}), {} gib, linked to: {}".format(id, type, size, vm_id))
F.preserve_selected_widget = True

def exit():
Expand Down Expand Up @@ -746,7 +746,7 @@ def editSnapshot(form, snapshot, form_color='STANDOUT'):
size = snapshot[2]
volume_id = snapshot[3]

F = displayPopup(name="{} ({}gib), volume: {}".format(id, size, volume_id))
F = displayPopup(name="{} ({} gib), volume: {}".format(id, size, volume_id))
F.preserve_selected_widget = True

def exit():
Expand Down

0 comments on commit e718a9b

Please sign in to comment.