diff --git a/Makefile b/Makefile index dd7123e09..f58c16c7c 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ pb: linter: go get -u github.com/alecthomas/gometalinter gometalinter --install golint - gometalinter --deadline=2m --disable-all --enable=golint --enable=vet --vendor --exclude=^pb/ ./... + gometalinter --deadline=2m --disable-all --enable=gofmt --enable=golint --enable=vet --vendor --exclude=^pb/ ./... .PHONY: goimports goimports: 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", }, {