mirror of https://github.com/apache/cloudstack.git
bug 8104: use correct SearchBuilder
status 8104: resolved fixed
This commit is contained in:
parent
9b8387fe8c
commit
1e21455496
|
|
@ -315,7 +315,7 @@ public class HostDaoImpl extends GenericDaoBase<HostVO, Long> implements HostDao
|
|||
|
||||
@Override
|
||||
public List<HostVO> listAllBy(Host.Type type, long dcId) {
|
||||
SearchCriteria<HostVO> sc = TypeDcStatusSearch.create();
|
||||
SearchCriteria<HostVO> sc = TypeDcSearch.create();
|
||||
sc.setParameters("type", type.toString());
|
||||
sc.setParameters("dc", dcId);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue