aboutsummaryrefslogtreecommitdiff
path: root/plugin/k8s_external/external_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/k8s_external/external_test.go')
-rw-r--r--plugin/k8s_external/external_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/k8s_external/external_test.go b/plugin/k8s_external/external_test.go
index 621ff9933..40c7cb927 100644
--- a/plugin/k8s_external/external_test.go
+++ b/plugin/k8s_external/external_test.go
@@ -17,7 +17,7 @@ import (
func TestExternal(t *testing.T) {
k := kubernetes.New([]string{"cluster.local."})
- k.Namespaces = map[string]struct{}{"testns": struct{}{}}
+ k.Namespaces = map[string]struct{}{"testns": {}}
k.APIConn = &external{}
e := New()