Merge "Fix premature scheduling loop exit"
This commit is contained in:
commit
4ac8ec174e
@ -353,7 +353,7 @@ func (ml *MachineList) scheduleIt(nodeRole airshipv1.VMRole, nodeCfg airshipv1.N
|
|||||||
// If its in the list already for the constraint , theen this bmh is disqualified. Skip it
|
// If its in the list already for the constraint , theen this bmh is disqualified. Skip it
|
||||||
if scheduleSet.Exists(bmhConstraintCondition) {
|
if scheduleSet.Exists(bmhConstraintCondition) {
|
||||||
logger.Info("Constraint slot is alrady taken some BMH from this constraint is already allocated, skipping it")
|
logger.Info("Constraint slot is alrady taken some BMH from this constraint is already allocated, skipping it")
|
||||||
break
|
continue
|
||||||
} else {
|
} else {
|
||||||
scheduleSet.Add(bmhConstraintCondition)
|
scheduleSet.Add(bmhConstraintCondition)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user