We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2add1ba commit ef29e99Copy full SHA for ef29e99
server/src/main/java/com/cloud/api/query/dao/TemplateJoinDaoImpl.java
@@ -174,12 +174,10 @@ private String getTemplateStatus(TemplateJoinVO template) {
174
} else if (template.getDownloadState() == Status.BYPASSED) {
175
templateStatus = "Bypassed Secondary Storage";
176
} else if (StringUtils.isNotBlank(template.getErrorString())) {
177
- templateStatus = template.getTemplateState().toString();
+ templateStatus = template.getErrorString().trim();
178
}
179
} else if (template.getDownloadState() == Status.DOWNLOADED) {
180
templateStatus = "Download Complete";
181
- } else {
182
- templateStatus = "Successfully Installed";
183
184
return templateStatus;
185
0 commit comments