Skip to content

Commit f03fdb5

Browse files
committed
id renamed to id_bandwidth
1 parent fc5614c commit f03fdb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SoftLayer/CLI/account/bandwidth_pools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ def cli(env):
3030
], title="Bandwidth Pools")
3131
table.align = 'l'
3232
for item in items:
33-
id = item.get('id')
33+
id_bandwidth = item.get('id')
3434
name = item.get('name')
3535
region = utils.lookup(item, 'locationGroup', 'name')
3636
servers = manager.get_bandwidth_pool_counts(identifier=item.get('id'))
3737
allocation = "{} GB".format(item.get('totalBandwidthAllocated', 0))
3838
current = "{} GB".format(utils.lookup(item, 'billingCyclePublicBandwidthUsage', 'amountOut'))
3939
projected = "{} GB".format(item.get('projectedPublicBandwidthUsage', 0))
4040

41-
table.add_row([id, name, region, servers, allocation, current, projected])
41+
table.add_row([id_bandwidth, name, region, servers, allocation, current, projected])
4242
env.fout(table)

0 commit comments

Comments
 (0)