Skip to content

Commit 6581b2c

Browse files
mjforksudorandom
authored andcommitted
Fix issue 753 to add "created_by" column to block / file (softlayer#754)
* Fix issue 753 to add "created_by" column to block / file * Fix flake8 issues * Fix additional flake8 issues
1 parent b07a190 commit 6581b2c

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Jason Johnson <[email protected]>
1111
Kevin Landreth <[email protected]>
1212
Kevin McDonald <[email protected]>
1313
Łukasz Oleś <[email protected]>
14+
Michael Fork <[email protected]>
1415
Nathan Beittenmiller <[email protected]>
1516
Neetu Jain <[email protected]>
1617
Paul Sroufe <[email protected]>

SoftLayer/CLI/block/list.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
column_helper.Column('lunId', ('lunId',), mask="lunId"),
2929
column_helper.Column('active_transactions', ('activeTransactionCount',),
3030
mask="activeTransactionCount"),
31+
column_helper.Column(
32+
'created_by',
33+
('billingItem', 'orderItem', 'order', 'userRecord', 'username')),
3134
]
3235

3336
DEFAULT_COLUMNS = [

SoftLayer/CLI/file/list.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
mask="serviceResourceBackendIpAddress"),
2828
column_helper.Column('active_transactions', ('activeTransactionCount',),
2929
mask="activeTransactionCount"),
30+
column_helper.Column(
31+
'created_by',
32+
('billingItem', 'orderItem', 'order', 'userRecord', 'username')),
3033
]
3134

3235
DEFAULT_COLUMNS = [

0 commit comments

Comments
 (0)