Commit cf92ef41 by Guba Sándor

storage/tasks: added save_as task

parent b86972f5
......@@ -22,6 +22,12 @@ def check_queue(storage, queue_id):
@celery.task
def save_as(disk, timeout, user):
disk.save_disk_as(task_uuid=save_as.request.id, user=user,
disk=disk, timeout=timeout)
@celery.task
def deploy(disk, user):
disk.deploy(task_uuid=deploy.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