Skip to content

Commit 1cdf2f7

Browse files
author
Yingchao Huang
committed
Bug in v5.7.2 release
If vm/hw in reclaim status, there will be an error
1 parent 2bd5cee commit 1cdf2f7

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

SoftLayer/CLI/hardware/detail.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ def cli(env, identifier, passwords, price, output_json, verbose):
8080

8181
table.add_row(['vlans', vlan_table])
8282

83-
bandwidth = hardware.get_bandwidth_allocation(hardware_id)
84-
bw_table = _bw_table(bandwidth)
85-
table.add_row(['Bandwidth', bw_table])
83+
# Bug in v5.7.2
84+
# bandwidth = hardware.get_bandwidth_allocation(hardware_id)
85+
# bw_table = _bw_table(bandwidth)
86+
# table.add_row(['Bandwidth', bw_table])
8687

8788
if result.get('notes'):
8889
table.add_row(['notes', result['notes']])

SoftLayer/CLI/virt/detail.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ def cli(env, identifier, passwords=False, price=False, output_json=False,
9292
table.add_row(_get_owner_row(result))
9393
table.add_row(_get_vlan_table(result))
9494

95-
bandwidth = vsi.get_bandwidth_allocation(vs_id)
96-
table.add_row(['Bandwidth', _bw_table(bandwidth)])
95+
# Bug in v5.7.2
96+
# bandwidth = vsi.get_bandwidth_allocation(vs_id)
97+
# table.add_row(['Bandwidth', _bw_table(bandwidth)])
9798

9899
security_table = _get_security_table(result)
99100
if security_table is not None:

0 commit comments

Comments
 (0)