We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50a8e23 + f00592d commit 1f32e6bCopy full SHA for 1f32e6b
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