Fixed typo

This commit is contained in:
alena 2011-07-11 10:31:25 -07:00
parent f348b2f324
commit bb6468b814
1 changed files with 2 additions and 1 deletions

View File

@ -804,8 +804,9 @@ public class ClusteredAgentManagerImpl extends AgentManagerImpl implements Clust
}
}
s_logger.debug("Found " + hostsToRebalance + " hosts to rebalance from management server " + node.getMsid());
if (hostsToRebalance != null && !hostsToRebalance.isEmpty()) {
s_logger.debug("Found " + hostsToRebalance.size() + " hosts to rebalance from management server " + node.getMsid());
for (HostVO host : hostsToRebalance) {
long hostId = host.getId();
s_logger.debug("Asking management server " + node.getMsid() + " to give away host id=" + hostId);