mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 13:36:02 -03:30
Revert "Modify job event save behavior"
This commit is contained in:
@@ -1106,10 +1106,6 @@ class JobEvent(CreatedModifiedModel):
|
|||||||
self.failed = True
|
self.failed = True
|
||||||
if 'failed' not in update_fields:
|
if 'failed' not in update_fields:
|
||||||
update_fields.append('failed')
|
update_fields.append('failed')
|
||||||
else:
|
|
||||||
self.event = 'runner_on_skipped'
|
|
||||||
if 'changed' in res:
|
|
||||||
res['changed'] = False
|
|
||||||
if isinstance(res, dict) and res.get('changed', False):
|
if isinstance(res, dict) and res.get('changed', False):
|
||||||
self.changed = True
|
self.changed = True
|
||||||
if 'changed' not in update_fields:
|
if 'changed' not in update_fields:
|
||||||
|
|||||||
Reference in New Issue
Block a user