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`
This commit is contained in:
parent
0d305387f7
commit
67c9075331
2 changed files with 3 additions and 4 deletions
|
@ -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",
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue