Makefile: keep go vet simple

We can now go vet all our packages, go vet excludes vendor since 1.9,
and the clientset is go-vet safe now.
This commit is contained in:
Justin SB 2019-05-19 12:27:23 +02:00
parent 621fcb6bb7
commit 2c0420312b
No known key found for this signature in database
GPG Key ID: 8DEC5C8217494E37
1 changed files with 1 additions and 3 deletions

View File

@ -40,8 +40,6 @@ BAZELUPLOAD=$(BAZELBUILD)/upload
UID:=$(shell id -u)
GID:=$(shell id -g)
TESTABLE_PACKAGES:=$(shell egrep -v "k8s.io/kops/vendor" hack/.packages)
# We need to ignore clientsets because of kubernetes/kubernetes#60584
GOVETABLE_PACKAGES:=$(shell egrep -v "k8s.io/kops/vendor|clientset/fake" hack/.packages)
BAZEL_OPTIONS?=
API_OPTIONS?=
GCFLAGS?=
@ -516,7 +514,7 @@ verify-goimports:
.PHONY: govet
govet: ${BINDATA_TARGETS}
go vet ${GOVETABLE_PACKAGES}
go vet ./...
# --------------------------------------------------
# Continuous integration targets