mirror of
https://github.com/ansible/awx.git
synced 2026-05-03 23:55:28 -02:30
disable activity stream for relaunched job label associations
This commit is contained in:
@@ -838,8 +838,11 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
|
|||||||
setattr(unified_job, fd, val)
|
setattr(unified_job, fd, val)
|
||||||
unified_job.save()
|
unified_job.save()
|
||||||
|
|
||||||
# Labels coppied here
|
# Labels copied here
|
||||||
copy_m2m_relationships(self, unified_job, fields)
|
from awx.main.signals import disable_activity_stream
|
||||||
|
with disable_activity_stream():
|
||||||
|
copy_m2m_relationships(self, unified_job, fields)
|
||||||
|
|
||||||
return unified_job
|
return unified_job
|
||||||
|
|
||||||
def launch_prompts(self):
|
def launch_prompts(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user