mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 13:14:05 +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 {
|
||||
Logf("Pod %s still exists", podName)
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if !found {
|
||||
|
Reference in New Issue
Block a user