diff --git a/GNUmakefile b/GNUmakefile index 47d8a4dcf6..c6295f165f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -95,7 +95,7 @@ format: vet: @echo "--> Running go vet" - @go vet $(GOFILES); if [ $$? -eq 1 ]; then \ + @go vet -tags '$(GOTAGS)' $(GOFILES); if [ $$? -eq 1 ]; then \ echo ""; \ echo "Vet found suspicious constructs. Please check the reported constructs"; \ echo "and fix them if necessary before submitting the code for review."; \