mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
call celery method with celery context
* Tracebacks are more informative this way.
This commit is contained in:
parent
4c2cff7a63
commit
1503e0505e
@ -180,7 +180,7 @@ def apply_cluster_membership_policies(self):
|
||||
g.instances.append(i.obj.id)
|
||||
g.obj.instances.add(i.obj)
|
||||
i.groups.append(g.obj.id)
|
||||
handle_ha_toplogy_changes()
|
||||
handle_ha_toplogy_changes.apply([])
|
||||
|
||||
|
||||
@shared_task(queue='tower_broadcast_all', bind=True, base=LogErrorsTask)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user