vm: operation for removing a disk from the VM
Showing
... | ... | @@ -2160,7 +2160,7 @@ class DiskRemoveView(DeleteView): |
disk = self.get_object() | ||
app = disk.get_appliance() | ||
app.disks.remove(disk) | ||
app.remove_disk(disk=disk, user=request.user) | ||
|
||
disk.destroy() | ||
next_url = request.POST.get("next") | ||
... | ... |