changed and failed are elements on the jobevent model and we should use those

This commit is contained in:
Matthew Jones
2014-06-25 17:01:39 -04:00
parent 7a9c1a5916
commit d9e9a88d3c

View File

@@ -1614,10 +1614,10 @@ class JobJobTasksList(BaseJobEventsList):
for task_start_event in qs:
# Create initial task data.
task_data = {
'changed': False,
'changed': task_start_event.changed,
'changed_count': 0,
'created': task_start_event.created,
'failed': False,
'failed': task_start_event.failed,
'failed_count': 0,
'host_count': 0,
'id': task_start_event.id,