From dc50d10e6599701cd1e697e3caedc14a72130071 Mon Sep 17 00:00:00 2001 From: Mauri de Souza Meneguzzo Date: Thu, 4 Jul 2024 19:11:25 -0300 Subject: [PATCH] Fix go directive version in go.mod According to https://go.dev/issues/62278 a concrete go version has to include the patch number or an additional toolchain directive. The project declares the version as 1.21 which is invalid and will result in an error: GOTOOLCHAIN="go1.20+auto" go1.21.5 mod tidy go: downloading go1.21 (linux/amd64) go: download go1.21 for linux/amd64: toolchain not available Changed to 1.21.0 as this is the first actual release of go 1.21. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 9f096371..3bccee3f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tsuru/tsuru-client -go 1.21 +go 1.21.0 require ( github.com/Masterminds/semver/v3 v3.1.1