mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3782 Data disk size is modified to KB from GB after it is attached to the instance
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
This commit is contained in:
parent
49c9fbfb70
commit
1d9465d758
|
|
@ -1373,7 +1373,7 @@ public class VmwareStorageProcessor implements StorageProcessor {
|
|||
|
||||
VolumeObjectTO newVol = new VolumeObjectTO();
|
||||
newVol.setPath(volumeUuid);
|
||||
newVol.setSize(volume.getSize() / (1024L * 1024L));
|
||||
newVol.setSize(volume.getSize());
|
||||
return new CreateObjectAnswer(newVol);
|
||||
} finally {
|
||||
s_logger.info("Destroy dummy VM after volume creation");
|
||||
|
|
|
|||
Loading…
Reference in New Issue