Unify List() signature in clients

This commit is contained in:
Wojciech Tyczynski
2015-10-30 15:35:22 +01:00
parent cc53619372
commit aac55d4795
8 changed files with 13 additions and 11 deletions

View File

@@ -21,6 +21,7 @@ import (
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/testapi"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/labels"
)
@@ -42,7 +43,7 @@ func TestListEndpoints(t *testing.T) {
},
},
}
receivedEndpointsList, err := c.Setup(t).Endpoints(ns).List(labels.Everything())
receivedEndpointsList, err := c.Setup(t).Endpoints(ns).List(labels.Everything(), fields.Everything())
c.Validate(t, receivedEndpointsList, err)
}