takes care of the Alert case

This commit is contained in:
Alex Huang 2011-05-10 12:17:10 -07:00
parent 5396cb7e2c
commit 4fd1bb8cfa
1 changed files with 0 additions and 1 deletions

View File

@ -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);