Updated Branches:
  refs/heads/master 5f42e2937 -> 543088a20

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/543088a2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/543088a2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/543088a2

Branch: refs/heads/master
Commit: 543088a203a86e480ecac7fecbec801feb51c180
Parents: 5f42e29
Author: Min Chen <[email protected]>
Authored: Tue Aug 27 13:57:04 2013 -0700
Committer: Min Chen <[email protected]>
Committed: Tue Aug 27 13:59:27 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/543088a2/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