You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/08/27 22:57:55 UTC

git commit: updated refs/heads/4.2-forward to 13d9070

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 <mi...@citrix.com>
Authored: Tue Aug 27 13:57:04 2013 -0700
Committer: Min Chen <mi...@citrix.com>
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();
     }