Skip to content

Commit c1789ff

Browse files
authored
Update list.py
1 parent 576ab30 commit c1789ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SoftLayer/CLI/hardware/list.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from SoftLayer.CLI import environment
99
from SoftLayer.CLI import formatting
1010
from SoftLayer.CLI import helpers
11+
from SoftLayer import utils
1112

1213
# pylint: disable=unnecessary-lambda
1314

@@ -22,7 +23,8 @@
2223
mask='activeTransaction[id, transactionStatus[name, friendlyName]]'),
2324
column_helper.Column(
2425
'created_by',
25-
('billingItem', 'orderItem', 'order', 'userRecord', 'username')),
26+
lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
27+
mask='billingItem[id,orderItem[id,order[id,userRecord[username]]]]'),
2628
column_helper.Column(
2729
'tags',
2830
lambda server: formatting.tags(server.get('tagReferences')),

0 commit comments

Comments
 (0)