CLOUDSTACK-4520: [upgrade][vmware]ExtractVolumeCmd fails with NPE while

attempting to download a volume.(cherry picked from commit 13d9070d5e)

Signed-off-by: animesh <animesh@apache.org>
This commit is contained in:
Min Chen 2013-08-27 13:57:04 -07:00 committed by animesh
parent ee090f8b36
commit 15f50c112b
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ public class VolumeVO implements Volume {
this.chainInfo = that.getChainInfo();
this.templateId = that.getTemplateId();
this.deviceId = that.getDeviceId();
this.format = that.getFormat();
this.uuid = UUID.randomUUID().toString();
}