mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
server: remove extra chars when template status is error string (#11329)
Fixes #11324 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
fd46e61032
commit
a4cf47a9b8
@ -183,7 +183,7 @@ public class TemplateJoinDaoImpl extends GenericDaoBaseWithTagInformation<Templa
|
||||
} else if (template.getErrorString() == null) {
|
||||
templateStatus = template.getTemplateState().toString();
|
||||
} else {
|
||||
templateStatus = template.getErrorString();
|
||||
templateStatus = template.getErrorString().trim();
|
||||
}
|
||||
} else if (template.getDownloadState() == Status.DOWNLOADED) {
|
||||
templateStatus = "Download Complete";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user