multiple secondary storage fix

This commit is contained in:
anthony 2011-05-17 16:47:11 -07:00
parent b963429063
commit 8cdd8a01b1
1 changed files with 0 additions and 7 deletions

View File

@ -486,13 +486,6 @@ public class DownloadMonitorImpl implements DownloadMonitor {
public void handleTemplateSync(long dcId) {
List<HostVO> ssHosts = _hostDao.listSecondaryStorageHosts(dcId);
for ( HostVO ssHost : ssHosts ) {
Long hostId = ssHost.getId();
List<VMTemplateHostVO> ths = _vmTemplateHostDao.listByHostId(hostId);
Map<String, TemplateInfo> templateInfos = new HashMap<String, TemplateInfo>();
for ( VMTemplateHostVO th : ths ) {
String tname = _templateDao.findById(th.getTemplateId()).getUniqueName();
templateInfos.put(tname, null);
}
handleTemplateSync(ssHost);
}
}