From 802ab46fe87e7fdc6f1f32484f0475e55d97d504 Mon Sep 17 00:00:00 2001 From: caberos Date: Mon, 20 Jun 2022 11:24:50 -0400 Subject: [PATCH] slcli account bandwidth-pools-detail command displays an error with bandwidth pools that has devices --- SoftLayer/CLI/account/bandwidth_pools_detail.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SoftLayer/CLI/account/bandwidth_pools_detail.py b/SoftLayer/CLI/account/bandwidth_pools_detail.py index e6420a5b9..8a523bcff 100644 --- a/SoftLayer/CLI/account/bandwidth_pools_detail.py +++ b/SoftLayer/CLI/account/bandwidth_pools_detail.py @@ -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'])