aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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: