Skip to content

Commit

Permalink
Update list.py
Browse files Browse the repository at this point in the history
  • Loading branch information
d3rnn authored Jul 3, 2024
1 parent 576ab30 commit c1789ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SoftLayer/CLI/hardware/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from SoftLayer.CLI import environment
from SoftLayer.CLI import formatting
from SoftLayer.CLI import helpers
from SoftLayer import utils

# pylint: disable=unnecessary-lambda

Expand All @@ -22,7 +23,8 @@
mask='activeTransaction[id, transactionStatus[name, friendlyName]]'),
column_helper.Column(
'created_by',
('billingItem', 'orderItem', 'order', 'userRecord', 'username')),
lambda created_by: utils.lookup(created_by, 'billingItem', 'orderItem', 'order', 'userRecord', 'username'),
mask='billingItem[id,orderItem[id,order[id,userRecord[username]]]]'),
column_helper.Column(
'tags',
lambda server: formatting.tags(server.get('tagReferences')),
Expand Down

0 comments on commit c1789ff

Please sign in to comment.