mirror of
https://github.com/ansible/awx.git
synced 2026-09-04 19:08:30 -02:30
Rename job_summary_dict to job_metadata
* Clarifies purpose of notification template variable
This commit is contained in:
@@ -87,7 +87,7 @@ class TestJobNotificationMixin(object):
|
||||
'use_fact_cache': bool,
|
||||
'verbosity': int},
|
||||
'job_friendly_name': str,
|
||||
'job_summary_dict': str,
|
||||
'job_metadata': str,
|
||||
'url': str}
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ class TestNotificationTemplateSerializer():
|
||||
{'started': {'message': '{{ job.id }}', 'body': '{{ job.status }}'},
|
||||
'success': {'message': None, 'body': '{{ job_friendly_name }}'},
|
||||
'error': {'message': '{{ url }}', 'body': None}},
|
||||
{'started': {'body': '{{ job_summary_dict }}'}},
|
||||
{'started': {'body': '{{ job_metadata }}'}},
|
||||
{'started': {'body': '{{ job.summary_fields.inventory.total_hosts }}'}},
|
||||
{'started': {'body': u'Iñtërnâtiônàlizætiøn'}}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user