aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2018-05-21 06:52:42 -0700
committerGravatar Chris O'Haver <cohaver@infoblox.com> 2018-05-21 09:52:42 -0400
commit67c9075331b3c32f55e32836ab261d9364aefeb5 (patch)
tree8103aabab1e46ca8ac7b0c49f72258d290516a5f /plugin
parent0d305387f7974e3b493ef73c965795313279700b (diff)
downloadcoredns-67c9075331b3c32f55e32836ab261d9364aefeb5.tar.gz
coredns-67c9075331b3c32f55e32836ab261d9364aefeb5.tar.zst
coredns-67c9075331b3c32f55e32836ab261d9364aefeb5.zip
Enforcing gofmt -s on linter check (#1820)
This fix enforces gofmt -s on linter check in Makefile, and fixes `plugin/kubernetes/handler_test.go` and `plugin/tls/tls_test.go` with `gofmt -s`
Diffstat (limited to 'plugin')
-rw-r--r--plugin/kubernetes/handler_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugin/kubernetes/handler_test.go b/plugin/kubernetes/handler_test.go
index 94e3dc893..d3d92a548 100644
--- a/plugin/kubernetes/handler_test.go
+++ b/plugin/kubernetes/handler_test.go
@@ -137,7 +137,6 @@ var dnsTestCases = []test.Case{
test.AAAA("5678-abcd--2.hdls1.testns.svc.cluster.local. 5 IN AAAA 5678:abcd::2"),
test.A("dup-name.hdls1.testns.svc.cluster.local. 5 IN A 172.0.0.4"),
test.A("dup-name.hdls1.testns.svc.cluster.local. 5 IN A 172.0.0.5"),
-
},
},
// AAAA
@@ -422,11 +421,11 @@ var epsIndex = map[string][]*api.Endpoints{
IP: "172.0.0.3",
},
{
- IP: "172.0.0.4",
+ IP: "172.0.0.4",
Hostname: "dup-name",
},
{
- IP: "172.0.0.5",
+ IP: "172.0.0.5",
Hostname: "dup-name",
},
{