Fixing the ConcurrentModificationException

This commit is contained in:
nit 2010-09-14 20:18:51 +05:30
parent b137b08731
commit 8f955c2889
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class FirstFitAllocator implements HostAllocator {
while (it.hasNext()) {
HostVO host = it.next();
if (avoid.contains(host)) {
clusterHosts.remove(host);
it.remove();
} else {
if (s_logger.isDebugEnabled()) {
s_logger.debug("Adding host " + host + " as possible pod host");