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:
parent
9f77a06745
commit
0174fea5a9
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user