From a175a5708479b5fa9fda51fe2f2a127b9b20f988 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 20 May 2022 14:41:02 +0300 Subject: [PATCH] Makefile: explicitly specify go1.17 compatibility when running `go mod tidy` at `make vendor-update` This is needed because go1.17 is the minimum supported version of Go, which is needed for building VictoriaMetrics --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 45fc269f7..4be9a69a1 100644 --- a/Makefile +++ b/Makefile @@ -257,7 +257,7 @@ benchmark-pure: vendor-update: GO111MODULE=on go get -u -d ./lib/... GO111MODULE=on go get -u -d ./app/... - GO111MODULE=on go mod tidy + GO111MODULE=on go mod tidy -compat=1.17 GO111MODULE=on go mod vendor app-local: