mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
left over uncounted from tracking cleanup
This commit is contained in:
parent
d49bff855f
commit
32ac4a9581
@ -1563,7 +1563,7 @@ func countValidPodsWithFilter(job *batch.Job, pods []*v1.Pod, uncounted sets.Str
|
|||||||
uid := string(p.UID)
|
uid := string(p.UID)
|
||||||
// Pods that don't have a completion finalizer are in the uncounted set or
|
// Pods that don't have a completion finalizer are in the uncounted set or
|
||||||
// have already been accounted for in the Job status.
|
// have already been accounted for in the Job status.
|
||||||
if uncounted != nil && (!hasJobTrackingFinalizer(p) || uncounted.Has(uid) || expectedRmFinalizers.Has(uid)) {
|
if !hasJobTrackingFinalizer(p) || uncounted.Has(uid) || expectedRmFinalizers.Has(uid) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if isIndexedJob(job) {
|
if isIndexedJob(job) {
|
||||||
|
Loading…
Reference in New Issue
Block a user