mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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) {
|
if (_props.getProperty("virtualsize") != null) {
|
||||||
tmplInfo.size = Long.parseLong(_props.getProperty("virtualsize"));
|
tmplInfo.size = Long.parseLong(_props.getProperty("virtualsize"));
|
||||||
}
|
}
|
||||||
if (_props.getProperty("physicalSize") != null) {
|
if (_props.getProperty("size") != null) {
|
||||||
tmplInfo.physicalSize = Long.parseLong(_props.getProperty("physicalSize"));
|
tmplInfo.physicalSize = Long.parseLong(_props.getProperty("size"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return tmplInfo;
|
return tmplInfo;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user