Merge pull request #4169 from brendandburns/shell_sucks
Fix a regression where we never cleared out failed nodes.
This commit is contained in:
@@ -179,7 +179,8 @@ func FilterActivePods(pods []api.Pod) []api.Pod {
|
||||
var result []api.Pod
|
||||
for _, value := range pods {
|
||||
if api.PodSucceeded != value.Status.Phase &&
|
||||
api.PodFailed != value.Status.Phase {
|
||||
api.PodFailed != value.Status.Phase &&
|
||||
api.PodUnknown != value.Status.Phase {
|
||||
result = append(result, value)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user