Commit 1bafed24 by Őry Máté

vm: make DeleteVmOperation a SubOperation

parent 81c32d0e
...@@ -440,7 +440,7 @@ class DestroyOperation(InstanceOperation): ...@@ -440,7 +440,7 @@ class DestroyOperation(InstanceOperation):
self.instance.save() self.instance.save()
@register_operation @register_operation
class DeleteVmOperation(RemoteInstanceOperation): class DeleteVmOperation(SubOperationMixin, RemoteInstanceOperation):
id = "_delete_vm" id = "_delete_vm"
name = _("destroy virtual machine") name = _("destroy virtual machine")
task = vm_tasks.destroy task = vm_tasks.destroy
......
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