mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	fix tests; convert IsPodActive to operate on *Pod
This commit is contained in:
		| @@ -287,7 +287,11 @@ func TestActivePodFiltering(t *testing.T) { | ||||
| 		expectedNames.Insert(pod.Name) | ||||
| 	} | ||||
|  | ||||
| 	got := FilterActivePods(podList.Items) | ||||
| 	var podPointers []*api.Pod | ||||
| 	for i := range podList.Items { | ||||
| 		podPointers = append(podPointers, &podList.Items[i]) | ||||
| 	} | ||||
| 	got := FilterActivePods(podPointers) | ||||
| 	gotNames := sets.NewString() | ||||
| 	for _, pod := range got { | ||||
| 		gotNames.Insert(pod.Name) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chao Xu
					Chao Xu