From d49dbec662b7050d6fcae2954d4137a72b13b7dc 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 7ae60bbdf..18c28a7f1 100644 --- a/Makefile +++ b/Makefile @@ -134,7 +134,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: