Merge pull request #1677 from chrismeyersfsu/fix-traceback_msg

call celery method with celery context
This commit is contained in:
Chris Meyers 2018-03-26 13:03:32 -04:00 committed by GitHub
commit 09babbe862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)