diff options
Diffstat (limited to 'plugin/kubernetes/external_test.go')
-rw-r--r-- | plugin/kubernetes/external_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/kubernetes/external_test.go b/plugin/kubernetes/external_test.go index 4855cfc63..560983e4c 100644 --- a/plugin/kubernetes/external_test.go +++ b/plugin/kubernetes/external_test.go @@ -105,7 +105,7 @@ var svcIndexExternal = map[string][]*object.Service{ Name: "svc1", Namespace: "testns", Type: api.ServiceTypeClusterIP, - ClusterIP: "10.0.0.1", + ClusterIPs: []string{"10.0.0.1"}, ExternalIPs: []string{"1.2.3.4"}, Ports: []api.ServicePort{{Name: "http", Protocol: "tcp", Port: 80}}, }, @@ -115,7 +115,7 @@ var svcIndexExternal = map[string][]*object.Service{ Name: "svc6", Namespace: "testns", Type: api.ServiceTypeClusterIP, - ClusterIP: "10.0.0.3", + ClusterIPs: []string{"10.0.0.3"}, ExternalIPs: []string{"1:2::5"}, Ports: []api.ServicePort{{Name: "http", Protocol: "tcp", Port: 80}}, }, |