cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kis...@apache.org
Subject [4/4] git commit: updated refs/heads/master to b0c67a3
Date Wed, 14 Aug 2013 12:10:07 GMT
CLOUDSTACK-4295 : Template Physical size is stored as size in template.properties. physicalsize
param does not exist in template.properties


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

Branch: refs/heads/master
Commit: b0c67a3cc58d12fbf1139b465587a80142e830fc
Parents: 2183121
Author: Kishan Kavala <kishan@cloud.com>
Authored: Wed Aug 14 17:28:12 2013 +0530
Committer: Kishan Kavala <kishan@cloud.com>
Committed: Wed Aug 14 17:34:14 2013 +0530

----------------------------------------------------------------------
 core/src/com/cloud/storage/template/TemplateLocation.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b0c67a3c/core/src/com/cloud/storage/template/TemplateLocation.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/storage/template/TemplateLocation.java b/core/src/com/cloud/storage/template/TemplateLocation.java
index 161a663..2ae438c 100644
--- a/core/src/com/cloud/storage/template/TemplateLocation.java
+++ b/core/src/com/cloud/storage/template/TemplateLocation.java
@@ -171,8 +171,8 @@ public class TemplateLocation {
         if (_props.getProperty("virtualsize") != null) {
             tmplInfo.size = Long.parseLong(_props.getProperty("virtualsize"));
         }
-        if (_props.getProperty("physicalSize") != null) {
-            tmplInfo.physicalSize = Long.parseLong(_props.getProperty("physicalSize"));
+        if (_props.getProperty("size") != null) {
+            tmplInfo.physicalSize = Long.parseLong(_props.getProperty("size"));
         }
 
         return tmplInfo;


Mime
View raw message