Skip to content

Commit 5c3cd04

Browse files
author
caberos
committed
fix team code review comments
1 parent 1db96f6 commit 5c3cd04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SoftLayer/CLI/hardware/detail.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ def cli(env, identifier, passwords, price):
6161
table.add_row(['os_version', operating_system.get('version') or formatting.blank()])
6262
table.add_row(['created', result['provisionDate'] or formatting.blank()])
6363
table.add_row(['owner', owner or formatting.blank()])
64-
table.add_row(['LastTransaction', result['lastTransaction']['transactionGroup']['name']])
64+
table.add_row(['last_transaction',
65+
utils.lookup(result, 'lastTransaction', 'transactionGroup', 'name')])
6566
table.add_row(['billing', 'Hourly' if result['hourlyBillingFlag'] else'Monthly'])
6667

6768
vlan_table = formatting.Table(['type', 'number', 'id'])

0 commit comments

Comments
 (0)