mirror of
https://github.com/apache/cloudstack
synced 2026-08-30 08:59:20 +00:00
Use correct field name when search for management server by State
This commit is contained in:
parent
d140ca7555
commit
52aab0e441
@ -328,7 +328,7 @@ public class ManagementServerHostDaoImpl extends GenericDaoBase<ManagementServer
|
||||
public List<ManagementServerHostVO> listBy(ManagementServerHost.State...states) {
|
||||
SearchCriteria<ManagementServerHostVO> sc = StateSearch.create();
|
||||
|
||||
sc.setParameters("status", (Object[]) states);
|
||||
sc.setParameters("state", (Object[]) states);
|
||||
|
||||
return listBy(sc);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user