Remove the same case judement
This patch remove the same case judement
This commit is contained in:
parent
99eee154f6
commit
0bf96a3ca4
@ -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