mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 8088: Making template sync more robust. If the url is null we cant initiate a download and so mark it as a download error instead.
status 8088: resolved fixed
This commit is contained in:
parent
df9003b0b6
commit
0f12529353
@ -526,6 +526,7 @@ public class DownloadMonitorImpl implements DownloadMonitor {
|
||||
if(tmpltHost != null){
|
||||
tmpltHost.setDownloadState(Status.DOWNLOAD_ERROR);
|
||||
tmpltHost.setDownloadPercent(0);
|
||||
tmpltHost.setErrorString("Cannot initiate the download as url is null.");
|
||||
_vmTemplateHostDao.update(tmpltHost.getId(), tmpltHost);
|
||||
}
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user