Skip to content

Conversation

@Redexing
Copy link
Contributor

Without the patch number, I hit a "toolchain not available" error from an env where go 1.22 was installed, and this project requires 1.23, and apparently it cannot locate the toolchain.

Similar discussion in: golang/go#62278

@manugarg manugarg merged commit b06c614 into cloudprober:master Nov 15, 2024
8 checks passed
@manugarg
Copy link
Contributor

To explain this further, starting with Go 1.21, go command line tool will download the toolchain specified in go.mod, if current tool chain is older than the version in go.mod.

So if go.mod says go 1.23 and you try to run it with go 1.22, it will try to download go1.23 and fail as go1.23 doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants