Remove the same case judement

This patch remove the same case judement
This commit is contained in:
guoyunxian 2017-05-26 12:00:15 +08:00
parent 99eee154f6
commit 0bf96a3ca4

View File

@ -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)