mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +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