add break when typestr == n

This commit is contained in:
guangxuli 2016-09-15 21:13:29 +08:00
parent 0a62dab566
commit dc5c6c4f7e

View File

@ -843,6 +843,7 @@ var _ = framework.KubeDescribe("Kubectl client", func() {
for key, val := range pod.Annotations {
if key == "x" && val == "y" {
found = true
break
}
}
if !found {