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:
Sateesh Chodapuneedi 2013-08-07 08:07:32 +05:30
parent 49c9fbfb70
commit 1d9465d758
1 changed files with 1 additions and 1 deletions

View File

@ -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");