Add kubernetes/kubernetes tools.go imports

This commit is contained in:
Jordan Liggitt
2019-03-22 17:46:35 -04:00
parent 7061281d4b
commit 8ead4b059f
2 changed files with 43 additions and 2 deletions

View File

@@ -46,8 +46,8 @@ for arg; do
done
if [[ ${#targets[@]} -eq 0 ]]; then
# Do not run on third_party directories or generated client code.
targets=$(go list -e ./... | egrep -v "/(third_party|vendor|staging|clientset_generated)/")
# Do not run on third_party directories or generated client code or build tools.
targets=$(go list -e ./... | egrep -v "/(build|third_party|vendor|staging|clientset_generated)/")
fi
go vet "${goflags[@]:+${goflags[@]}}" ${targets[@]}