Commit 362fb4a2 by Bach Dániel

vm: add missing disk.destroy()

parent bf0575e5
...@@ -491,6 +491,7 @@ class RemoveDiskOperation(InstanceOperation): ...@@ -491,6 +491,7 @@ class RemoveDiskOperation(InstanceOperation):
'destroy_disk', 'destroy_disk',
readable_name=ugettext_noop('destroy disk') readable_name=ugettext_noop('destroy disk')
): ):
disk.destroy()
return self.instance.disks.remove(disk) return self.instance.disks.remove(disk)
def get_activity_name(self, kwargs): def get_activity_name(self, kwargs):
......
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