mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
Merge pull request #46484 from guoyunxian/remove
Automatic merge from submit-queue (batch tested with PRs 45809, 46515, 46484, 46516, 45614) Remove the reduplicated case judement This patch remove the reduplicated case judgement
This commit is contained in:
commit
2b084af6dd
@ -589,8 +589,6 @@ func WaitForPodsRunningReady(c clientset.Interface, ns string, minPods, allowedN
|
||||
switch {
|
||||
case res && err == nil:
|
||||
nOk++
|
||||
case pod.Status.Phase == v1.PodSucceeded:
|
||||
continue
|
||||
case pod.Status.Phase == v1.PodSucceeded:
|
||||
Logf("The status of Pod %s is Succeeded which is unexpected", pod.ObjectMeta.Name)
|
||||
badPods = append(badPods, pod)
|
||||
|
Loading…
Reference in New Issue
Block a user