mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-22 15:09:39 +00:00
Separate labels and selector in services for clarity
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user