mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4295 : Template Physical size is stored as size in template.properties. physicalsize param does not exist in template.properties
This commit is contained in:
parent
21831211f6
commit
b0c67a3cc5
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue