Skip to content

Commit

Permalink
Fix go directive version in go.mod
Browse files Browse the repository at this point in the history
According to https://go.dev/issues/62278 a concrete go version has to include
the patch number. 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.

Signed-off-by: Mauri de Souza Meneguzzo <[email protected]>
  • Loading branch information
mauri870 committed Jul 9, 2024
1 parent e01679d commit 562afd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/nats-io/nats-server/v2

go 1.21
go 1.21.0

require (
github.com/google/go-tpm v0.9.1
Expand Down

0 comments on commit 562afd9

Please sign in to comment.