mirror of https://github.com/apache/cloudstack.git
fixed template checksum command
This commit is contained in:
parent
42c01aad2c
commit
90cdf16509
|
|
@ -734,6 +734,7 @@ public class DownloadMonitorImpl implements DownloadMonitor {
|
|||
private void checksumSync(long hostId){
|
||||
SearchCriteria<VMTemplateHostVO> sc = ReadyTemplateStatesSearch.create();
|
||||
sc.setParameters("download_state", com.cloud.storage.VMTemplateStorageResourceAssoc.Status.DOWNLOADED);
|
||||
sc.setParameters("host_id", hostId);
|
||||
|
||||
List<VMTemplateHostVO> templateHostRefList = _vmTemplateHostDao.search(sc, null);
|
||||
s_logger.debug("Found " +templateHostRefList.size()+ " templates with no checksum. Will ask for computation");
|
||||
|
|
|
|||
Loading…
Reference in New Issue