Commit 764e597b by Guba Sándor

vm/local_tasks: added shut_off

parent 1ffe10b4
......@@ -14,6 +14,11 @@ def redeploy(instance, user):
@celery.task
def shut_off(instance, user):
instance.shut_off(task_uuid=shut_off.request.id, user=user)
@celery.task
def destroy(instance, user):
instance.destroy(task_uuid=destroy.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