Commit cf11c9a8 by Guba Sándor

vm/local_tasks: added save_as_template

parent a5fc794f
......@@ -19,6 +19,12 @@ def destroy(instance, user):
@celery.task
def save_as_template(instance, name, user, params):
instance.save_as_template(name, task_uuid=save_as_template.request.id,
user=user, **params)
@celery.task
def sleep(instance, user):
instance.sleep(task_uuid=sleep.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