aboutsummaryrefslogtreecommitdiff
path: root/plugin/k8s_external/apex_test.go
diff options
context:
space:
mode:
authorGravatar Sandeep Rajan <srajan@infoblox.com> 2019-02-17 03:32:28 -0500
committerGravatar Miek Gieben <miek@miek.nl> 2019-02-17 08:32:28 +0000
commitd42d80c4f6750a98d3cc779a593160ff43dbf655 (patch)
tree948137a8defce62db5d92d67d118ffef07561a92 /plugin/k8s_external/apex_test.go
parent1fe66443a7103963c410a3df09a818f7d14d0519 (diff)
downloadcoredns-d42d80c4f6750a98d3cc779a593160ff43dbf655.tar.gz
coredns-d42d80c4f6750a98d3cc779a593160ff43dbf655.tar.zst
coredns-d42d80c4f6750a98d3cc779a593160ff43dbf655.zip
cleanup by fmt and remove redundant type declarations (#2563)
Diffstat (limited to 'plugin/k8s_external/apex_test.go')
-rw-r--r--plugin/k8s_external/apex_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/k8s_external/apex_test.go b/plugin/k8s_external/apex_test.go
index ba94a044a..14aaf64bc 100644
--- a/plugin/k8s_external/apex_test.go
+++ b/plugin/k8s_external/apex_test.go
@@ -13,7 +13,7 @@ import (
func TestApex(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()