Skip to content

Commit bf13273

Browse files
author
Kelven Yang
committed
adjust to merged changes
1 parent 02e64f9 commit bf13273

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/template/TemplateManagerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ private Long extract(Account account, Long templateId, String url, Long zoneId,
351351
}
352352

353353
public void prepareTemplateInAllStoragePools(final VMTemplateVO template, long zoneId) {
354-
List<StoragePoolVO> pools = _poolDao.listPoolsByStatus(StoragePoolStatus.Up);
354+
List<StoragePoolVO> pools = _poolDao.listByStatus(StoragePoolStatus.Up);
355355
for(final StoragePoolVO pool : pools) {
356356
if(pool.getDataCenterId() == zoneId) {
357357
s_logger.info("Schedule to preload template " + template.getId() + " into primary storage " + pool.getId());

0 commit comments

Comments
 (0)