Skip to content

Commit

Permalink
Merge pull request #1670 from caberos/issue1669
Browse files Browse the repository at this point in the history
slcli account bandwidth-pools-detail command displays an error with b…
  • Loading branch information
allmightyspiff committed Jun 20, 2022
2 parents 846404e + 802ab46 commit 54ddf9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SoftLayer/CLI/account/bandwidth_pools_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ def cli(env, identifier):
inbound = '-'
table.add_row(['Inbound Usage', inbound])
if bandwidths['hardware'] != []:
table.add_row(['hardware', _bw_table(bandwidths['hardware'])])
table.add_row(['hardware', *(_bw_table(bandwidths['hardware']))])
else:
table.add_row(['hardware', 'Not Found'])

if bandwidths['virtualGuests'] != []:
table.add_row(['virtualGuests', _virtual_table(bandwidths['virtualGuests'])])
table.add_row(['virtualGuests', *(_virtual_table(bandwidths['virtualGuests']))])
else:
table.add_row(['virtualGuests', 'Not Found'])

if bandwidths['bareMetalInstances'] != []:
table.add_row(['Netscaler', _bw_table(bandwidths['bareMetalInstances'])])
table.add_row(['Netscaler', *(_bw_table(bandwidths['bareMetalInstances']))])
else:
table.add_row(['Netscaler', 'Not Found'])

Expand Down

0 comments on commit 54ddf9c

Please sign in to comment.