Merge pull request #33156 from guangxuli/k8s_test_092101

Automatic merge from submit-queue

break the loop if pod name was equal
This commit is contained in:
Kubernetes Submit Queue 2016-09-22 18:29:26 -07:00 committed by GitHub
commit 88bcf4a5b4

View File

@ -1550,6 +1550,7 @@ func WaitForPodToDisappear(c *client.Client, ns, podName string, label labels.Se
if pod.Name == podName {
Logf("Pod %s still exists", podName)
found = true
break
}
}
if !found {