Skip to content

Commit 6704c28

Browse files
author
Gabriel Monroy
committed
add formation_id to args
1 parent 5ce8a38 commit 6704c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def destroy(self):
446446
group(layer_tasks).apply_async().join()
447447
# call a celery task to update the formation data bag
448448
if settings.CHEF_ENABLED:
449-
controller.destroy_formation.apply_async().join() # @UndefinedVariable
449+
controller.destroy_formation.apply_async(self.id).join() # @UndefinedVariable
450450

451451

452452
@python_2_unicode_compatible

0 commit comments

Comments
 (0)