From f4c7e34fd83ead7c8b76a610734bb3a1615f6329 Mon Sep 17 00:00:00 2001 From: dbinnal-px Date: Fri, 13 Sep 2024 11:27:45 +0000 Subject: [PATCH] fix errorcheck install in makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 663b0352..8dfeec2f 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ staticcheck: errcheck: docker run --rm -v $(shell pwd):/go/src/github.com/portworx/kdmp $(DOCK_BUILD_CNT) \ /bin/bash -c "cd /go/src/github.com/portworx/kdmp; \ - GO111MODULE=off go get -u github.com/kisielk/errcheck; \ + go install github.com/kisielk/errcheck@v1.7.0; \ git config --global --add safe.directory /go/src/github.com/portworx/kdmp; \ errcheck -ignoregenerated -ignorepkg fmt -verbose -blank $(PKGS); \ errcheck -ignoregenerated -ignorepkg fmt -verbose -blank -tags unittest $(PKGS)"