mirror of https://github.com/apache/cloudstack.git
Fixing the ConcurrentModificationException
This commit is contained in:
parent
b137b08731
commit
8f955c2889
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue