Skip to content

Commit b000cd4

Browse files
authored
Merge pull request kubernetes#75529 from logicalhan/bump-min-version
bump required minimum go version to 1.12 (strings package compatibility)
2 parents 8af1bf3 + a5ddc39 commit b000cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/lib/golang.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ EOF
382382
local go_version
383383
IFS=" " read -ra go_version <<< "$(go version)"
384384
local minimum_go_version
385-
minimum_go_version=go1.11.1
385+
minimum_go_version=go1.12.1
386386
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
387387
kube::log::usage_from_stdin <<EOF
388388
Detected go version: ${go_version[*]}.

0 commit comments

Comments
 (0)