Skip to content

Commit

Permalink
Update list_lambdas.py (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark authored Feb 21, 2022
1 parent 4d51475 commit 3685671
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions list_lambdas.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
'Code Size (MB)',
'Timeout (seconds)',
'Runtime',
'Description',
'Last Modified',
'Last Invocation',
'Description',
]

SORT_KEYS = ['region', 'last-modified', 'last-invocation', 'runtime']
Expand Down Expand Up @@ -133,9 +133,9 @@ def create_tables(lambdas_data, args):
'%.2f' % (function_data['CodeSize'] / BYTE_TO_MB),
str(function_data['Timeout']),
str(function_data['Runtime']) if 'Runtime' in function_data else '',
function_data['Description'],
get_days_ago(lambda_data['last-modified']),
last_invocation
last_invocation,
'"' + function_data['Description'] + '"'
])

if args.should_print_all:
Expand Down

0 comments on commit 3685671

Please sign in to comment.