From a18a6ae1233d5f34c98164fd693294c36b3240b7 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sat, 22 Sep 2018 15:37:27 +0100 Subject: [PATCH] WIP: trying stuff out Signed-off-by: Miek Gieben --- plugin/kubernetes/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/kubernetes/controller.go b/plugin/kubernetes/controller.go index db231c89d..f9aaa2a06 100644 --- a/plugin/kubernetes/controller.go +++ b/plugin/kubernetes/controller.go @@ -177,7 +177,7 @@ func svcNameNamespaceIndexFunc(obj interface{}) ([]string, error) { if !ok { return nil, errors.New("obj was not an *api.Service") } - return []string{s.ObjectMeta.Name + "." + s.ObjectMeta.Namespace}, nil + return []string{s.ObjectMeta.Name, ".", s.ObjectMeta.Namespace}, nil } func epNameNamespaceIndexFunc(obj interface{}) ([]string, error) {