Skip to content

Commit

Permalink
UPSTREAM: <drop>: use go 1.21 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Mar 6, 2024
1 parent 8474aa0 commit 4aac029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/lib/golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ EOF
local go_version
IFS=" " read -ra go_version <<< "$(GOFLAGS='' go version)"
local minimum_go_version
minimum_go_version=go1.22
minimum_go_version=go1.21
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
kube::log::usage_from_stdin <<EOF
Detected go version: ${go_version[*]}.
Expand Down

0 comments on commit 4aac029

Please sign in to comment.