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
903b92f6cc
commit
4f3e648f45
|
|
@ -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