mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
back out thought to cause deadlock scenario
This commit is contained in:
committed by
Matthew Jones
parent
aeb7119796
commit
7fda3c0658
@@ -713,7 +713,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
|||||||
result = super(UnifiedJob, self).save(*args, **kwargs)
|
result = super(UnifiedJob, self).save(*args, **kwargs)
|
||||||
|
|
||||||
# If status changed, update the parent instance.
|
# If status changed, update the parent instance.
|
||||||
if self.status != status_before and self.status != 'pending':
|
if self.status != status_before:
|
||||||
self._update_parent_instance()
|
self._update_parent_instance()
|
||||||
|
|
||||||
# Done.
|
# Done.
|
||||||
|
|||||||
Reference in New Issue
Block a user