Skip to content

Commit 8277090

Browse files
caberoscaberos
authored andcommitted
fix the vlan table
1 parent 393e70c commit 8277090

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SoftLayer/CLI/vlan/detail.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def cli(env, identifier, no_vs, no_hardware):
5151
subnet_table.add_row(['usable ips', subnet.get('usableIpAddressCount')])
5252
subnets.append(subnet_table)
5353

54-
table.add_row(['subnets', subnets])
54+
table.add_row(['subnets', *subnets])
5555

5656
server_columns = ['hostname', 'domain', 'public_ip', 'private_ip']
5757

@@ -63,7 +63,7 @@ def cli(env, identifier, no_vs, no_hardware):
6363
vsi.get('domain'),
6464
vsi.get('primaryIpAddress'),
6565
vsi.get('primaryBackendIpAddress')])
66-
table.add_row(['vs', vs_table])
66+
table.add_row(['vs', *vs_table])
6767
else:
6868
table.add_row(['vs', 'none'])
6969

@@ -75,7 +75,7 @@ def cli(env, identifier, no_vs, no_hardware):
7575
hardware.get('domain'),
7676
hardware.get('primaryIpAddress'),
7777
hardware.get('primaryBackendIpAddress')])
78-
table.add_row(['hardware', hw_table])
78+
table.add_row(['hardware', *hw_table])
7979
else:
8080
table.add_row(['hardware', 'none'])
8181

0 commit comments

Comments
 (0)