diff options
Diffstat (limited to 'plugin/k8s_external/external_test.go')
-rw-r--r-- | plugin/k8s_external/external_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/k8s_external/external_test.go b/plugin/k8s_external/external_test.go index 45584b6b1..e51fc6895 100644 --- a/plugin/k8s_external/external_test.go +++ b/plugin/k8s_external/external_test.go @@ -190,7 +190,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}}, }, @@ -200,7 +200,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}}, }, |