We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35139b4 commit f00592dCopy full SHA for f00592d
SoftLayer/CLI/hardware/detail.py
@@ -36,7 +36,7 @@ def cli(env, identifier, passwords, price, components):
36
operating_system = utils.lookup(result, 'operatingSystem', 'softwareLicense', 'softwareDescription') or {}
37
memory = formatting.gb(result.get('memoryCapacity', 0))
38
owner = None
39
- if utils.lookup(result, 'billingItem') != []:
+ if utils.lookup(result, 'billingItem'):
40
owner = utils.lookup(result, 'billingItem', 'orderItem', 'order', 'userRecord', 'username')
41
42
table_hard_drives = formatting.Table(['Name', 'Capacity', 'Serial #'])
0 commit comments