Commit 951e0643 by Bach Dániel

vm: fix renew() in Instance.__deploy_vm()

parent 32a78285
...@@ -718,7 +718,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel): ...@@ -718,7 +718,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
vm_tasks.resume.apply_async(args=[self.vm_name], vm_tasks.resume.apply_async(args=[self.vm_name],
queue=queue_name).get(timeout=timeout) queue=queue_name).get(timeout=timeout)
self.renew('suspend') self.renew('suspend', act)
def deploy(self, user=None, task_uuid=None): def deploy(self, user=None, task_uuid=None):
"""Deploy new virtual machine with network """Deploy new virtual machine with network
......
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