mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Fix a regression where we never cleared out failed nodes.
This commit is contained in:
@@ -166,7 +166,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