mirror of
https://github.com/ceph/ceph
synced 2025-01-14 15:04:30 +00:00
teuthology-ls: tolerate non-existent 'success' key in summary file
This commit is contained in:
parent
233bc8dd8e
commit
218b69246f
@ -200,7 +200,7 @@ def ls():
|
||||
job=j,
|
||||
owner=summary.get('owner', '-'),
|
||||
desc=summary.get('description', '-'),
|
||||
success='pass' if summary['success'] else 'FAIL',
|
||||
success='pass' if summary.get('success', False) else 'FAIL',
|
||||
duration=int(summary.get('duration', 0)),
|
||||
)
|
||||
if args.verbose and 'failure_reason' in summary:
|
||||
|
Loading…
Reference in New Issue
Block a user