mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Add field selector to List, implement for pods.
This commit is contained in:
@@ -79,7 +79,7 @@ func TestEndpointsRegistryList(t *testing.T) {
|
||||
{JSONBase: api.JSONBase{ID: "bar"}},
|
||||
},
|
||||
}
|
||||
s, _ := storage.List(labels.Everything())
|
||||
s, _ := storage.List(labels.Everything(), labels.Everything())
|
||||
sl := s.(*api.EndpointsList)
|
||||
if len(sl.Items) != 2 {
|
||||
t.Fatalf("Expected 2 endpoints, but got %v", len(sl.Items))
|
||||
|
||||
Reference in New Issue
Block a user