Commit dc5c6c4f authored by guangxuli's avatar guangxuli

add break when typestr == n

parent 0a62dab5
...@@ -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