mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
cleanup by fmt and remove redundant type declarations (#2563)
This commit is contained in:
committed by
Miek Gieben
parent
1fe66443a7
commit
d42d80c4f6
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user