mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 02:58:13 -03:30
Merge pull request #3317 from ansible/revert-3307-3199_2_change_job_event_save_behavior
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