We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d159ae3 + 2e22ef5 commit ea7cd3bCopy full SHA for ea7cd3b
pkg/controller/podgc/gc_controller.go
@@ -135,9 +135,6 @@ func (gcc *PodGCController) gcTerminated(pods []*v1.Pod) {
135
terminatedPodCount := len(terminatedPods)
136
deleteCount := terminatedPodCount - gcc.terminatedPodThreshold
137
138
- if deleteCount > terminatedPodCount {
139
- deleteCount = terminatedPodCount
140
- }
141
if deleteCount <= 0 {
142
return
143
}
0 commit comments