We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb85a56 commit 0acce2cCopy full SHA for 0acce2c
1 file changed
core/src/com/cloud/storage/template/TemplateLocation.java
@@ -159,7 +159,7 @@ public boolean save() {
159
public TemplateProp getTemplateInfo() {
160
TemplateProp tmplInfo = new TemplateProp();
161
tmplInfo.id = Long.parseLong(_props.getProperty("id"));
162
- tmplInfo.installPath = _templatePath + File.separator + _props.getProperty("filename");
+ tmplInfo.installPath = _templatePath + _props.getProperty("filename"); // _templatePath endsWith /
163
if (_resourceType == ResourceType.VOLUME){
164
tmplInfo.installPath = tmplInfo.installPath.substring(tmplInfo.installPath.indexOf("volumes"));
165
}else {
0 commit comments