mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
back out parent jt status update short circuit
This commit is contained in:
parent
958aaffa62
commit
0a25cc2d19
@ -712,7 +712,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
||||
result = super(UnifiedJob, self).save(*args, **kwargs)
|
||||
|
||||
# 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()
|
||||
|
||||
# Done.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user