Commit c6123413 by Dudás Ádám

vm: fix accidental deletion of Node task

parent a15a814f
...@@ -13,3 +13,8 @@ def async_operation(operation_id, instance_pk, activity_pk, **kwargs): ...@@ -13,3 +13,8 @@ def async_operation(operation_id, instance_pk, activity_pk, **kwargs):
activity.save() activity.save()
return operation._exec_op(activity=activity, **kwargs) return operation._exec_op(activity=activity, **kwargs)
@celery.task
def flush(node, user):
node.flush(task_uuid=flush.request.id, user=user)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment