Merge pull request #313 from anujm/add_columns_to_response_header
Added column headers for host and deployment in json reports
This commit is contained in:
commit
fd5810301f
@ -254,7 +254,8 @@ def store_results(start, end, summary, details):
|
|||||||
|
|
||||||
def make_json_report(summary, details):
|
def make_json_report(summary, details):
|
||||||
report = [{'summary': summary},
|
report = [{'summary': summary},
|
||||||
['Object', 'ID', 'Error Description', 'Reconciled?']]
|
['Object', 'ID', 'Error Description', 'Reconciled?', 'Cell',
|
||||||
|
'Deployment']]
|
||||||
report.extend(details['exist_fails'])
|
report.extend(details['exist_fails'])
|
||||||
report.extend(details['launch_fails'])
|
report.extend(details['launch_fails'])
|
||||||
return json.dumps(report)
|
return json.dumps(report)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user