Commit f411d373 authored by guangxuli's avatar guangxuli

break the loop if pod name was equal

parent d323fed0
......@@ -1549,6 +1549,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 {
......
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