Separate labels and selector in services for clarity

This commit is contained in:
Daniel Smith
2014-06-18 16:01:49 -07:00
parent 59c08db4c1
commit c4649d539b
8 changed files with 39 additions and 23 deletions

View File

@@ -49,7 +49,7 @@ func TestSyncEndpointsItems(t *testing.T) {
list: api.ServiceList{
Items: []api.Service{
{
Labels: map[string]string{
Selector: map[string]string{
"foo": "bar",
},
},
@@ -92,7 +92,7 @@ func TestSyncEndpointsPodError(t *testing.T) {
list: api.ServiceList{
Items: []api.Service{
{
Labels: map[string]string{
Selector: map[string]string{
"foo": "bar",
},
},