mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
break the loop if pod name was equal
This commit is contained in:
@@ -1549,6 +1549,7 @@ func WaitForPodToDisappear(c *client.Client, ns, podName string, label labels.Se
|
|||||||
if pod.Name == podName {
|
if pod.Name == podName {
|
||||||
Logf("Pod %s still exists", podName)
|
Logf("Pod %s still exists", podName)
|
||||||
found = true
|
found = true
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !found {
|
if !found {
|
||||||
|
Reference in New Issue
Block a user