mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-11 02:50:55 -04:00
Remove the same case judement
This patch remove the same case judement
This commit is contained in:
parent
99eee154f6
commit
0bf96a3ca4
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue