mirror of https://github.com/apache/cloudstack.git
takes care of the Alert case
This commit is contained in:
parent
5396cb7e2c
commit
4fd1bb8cfa
|
|
@ -283,7 +283,6 @@ public class HostDaoImpl extends GenericDaoBase<HostVO, Long> implements HostDao
|
|||
public void markHostsAsDisconnected(long msId, Status... states) {
|
||||
SearchCriteria sc = MsStatusSearch.create();
|
||||
sc.setParameters("ms", msId);
|
||||
sc.setParameters("statuses", (Object[]) states);
|
||||
|
||||
HostVO host = createForUpdate();
|
||||
host.setManagementServerId(null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue