Skip to content

Commit b0c67a3

Browse files
author
Kishan Kavala
committed
CLOUDSTACK-4295 : Template Physical size is stored as size in template.properties. physicalsize param does not exist in template.properties
1 parent 2183121 commit b0c67a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/com/cloud/storage/template/TemplateLocation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ public TemplateProp getTemplateInfo() {
171171
if (_props.getProperty("virtualsize") != null) {
172172
tmplInfo.size = Long.parseLong(_props.getProperty("virtualsize"));
173173
}
174-
if (_props.getProperty("physicalSize") != null) {
175-
tmplInfo.physicalSize = Long.parseLong(_props.getProperty("physicalSize"));
174+
if (_props.getProperty("size") != null) {
175+
tmplInfo.physicalSize = Long.parseLong(_props.getProperty("size"));
176176
}
177177

178178
return tmplInfo;

0 commit comments

Comments
 (0)