mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-4008: return virtual size of volume in KVM
This commit is contained in:
parent
21f62087d3
commit
3a928d7db0
@ -270,7 +270,7 @@ public class KVMStorageProcessor implements StorageProcessor {
|
|||||||
|
|
||||||
VolumeObjectTO newVol = new VolumeObjectTO();
|
VolumeObjectTO newVol = new VolumeObjectTO();
|
||||||
newVol.setPath(vol.getName());
|
newVol.setPath(vol.getName());
|
||||||
newVol.setSize(vol.getSize());
|
newVol.setSize(volume.getSize());
|
||||||
|
|
||||||
return new CopyCmdAnswer(newVol);
|
return new CopyCmdAnswer(newVol);
|
||||||
} catch (CloudRuntimeException e) {
|
} catch (CloudRuntimeException e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user