1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

F #6292: Remove check for disk snapshots in resize

This commit is contained in:
Ruben S. Montero 2023-08-17 13:34:28 +02:00
parent 9f77a06745
commit 0174fea5a9
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -3471,14 +3471,6 @@ void VirtualMachineDiskResize::request_execute(
return;
}
if ( disk->has_snapshots() )
{
att.resp_msg = "Cannot resize a disk with snapshots";
failure_response(ACTION, att);
return;
}
/* ------------- Get information about the disk and image --------------- */
disk->resize_quotas(size, ds_deltas, vm_deltas, img_ds_quota, vm_ds_quota);