Commit 3e41bc8d authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #29430 from lixiaobing10051267/masterBreak

Automatic merge from submit-queue To break the loop when object found in removeOrphanFinalizer() To break the loop when object found in removeOrphanFinalizer()
parents 696cca21 57eabf2b
......@@ -279,6 +279,7 @@ func (gc *GarbageCollector) removeOrphanFinalizer(owner *node) error {
for _, f := range finalizers {
if f == api.FinalizerOrphan {
found = true
break
} else {
newFinalizers = append(newFinalizers, f)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment