mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-9101: update volume size after resizevolume
This commit is contained in:
parent
5b7d935ab0
commit
119b27b2c6
@ -1158,6 +1158,9 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
|
||||
if (newDiskOfferingId != null) {
|
||||
volume.setDiskOfferingId(newDiskOfferingId);
|
||||
}
|
||||
if (currentSize != newSize) {
|
||||
volume.setSize(newSize);
|
||||
}
|
||||
|
||||
_volsDao.update(volume.getId(), volume);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user