We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6704c28 commit 31fe7f6Copy full SHA for 31fe7f6
1 file changed
api/models.py
@@ -446,7 +446,7 @@ def destroy(self):
446
group(layer_tasks).apply_async().join()
447
# call a celery task to update the formation data bag
448
if settings.CHEF_ENABLED:
449
- controller.destroy_formation.apply_async(self.id).join() # @UndefinedVariable
+ controller.destroy_formation.delay(self.id).wait() # @UndefinedVariable
450
451
452
@python_2_unicode_compatible
0 commit comments