Updated Branches:
  refs/heads/4.2-forward ee0b1d768 -> 13d9070d5

CLOUDSTACK-4520: [upgrade][vmware]ExtractVolumeCmd fails with NPE while
attempting to download a volume.

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/13d9070d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/13d9070d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/13d9070d

Branch: refs/heads/4.2-forward
Commit: 13d9070d5e11fc8b15156b4d3978446837904641
Parents: ee0b1d7
Author: Min Chen <[email protected]>
Authored: Tue Aug 27 13:57:04 2013 -0700
Committer: Min Chen <[email protected]>
Committed: Tue Aug 27 13:57:04 2013 -0700

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/VolumeVO.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/13d9070d/engine/schema/src/com/cloud/storage/VolumeVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/storage/VolumeVO.java 
b/engine/schema/src/com/cloud/storage/VolumeVO.java
index bbecf03..ea3d6bf 100755
--- a/engine/schema/src/com/cloud/storage/VolumeVO.java
+++ b/engine/schema/src/com/cloud/storage/VolumeVO.java
@@ -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();
     }
 

Reply via email to