Commit c3374a0d authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #32782 from guangxuli/k8s_opts

Automatic merge from submit-queue add break when found value
parents 0d9685b0 dc5c6c4f
...@@ -843,6 +843,7 @@ var _ = framework.KubeDescribe("Kubectl client", func() { ...@@ -843,6 +843,7 @@ var _ = framework.KubeDescribe("Kubectl client", func() {
for key, val := range pod.Annotations { for key, val := range pod.Annotations {
if key == "x" && val == "y" { if key == "x" && val == "y" {
found = true found = true
break
} }
} }
if !found { if !found {
......
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