Skip to content

Commit 884e6e1

Browse files
committed
comment for filtering reason
1 parent f2c4003 commit 884e6e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scheduler/util.go

+2
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ func diffSystemAllocsForNode(job *structs.Job, nodeID string,
162162
// update or ignore above. Ignore placements for tainted or
163163
// ineligible nodes
164164
if !ok {
165+
// Tainted and ineligible nodes for a non existing alloc
166+
// should be filtered out and not count towards ignore or place
165167
if _, tainted := taintedNodes[nodeID]; tainted {
166168
continue
167169
}

0 commit comments

Comments
 (0)