mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
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:
commit
88bcf4a5b4
@ -1550,6 +1550,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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user