Skip to content

Commit

Permalink
Merge pull request #75530 from logicalhan/automated-cherry-pick-of-#7…
Browse files Browse the repository at this point in the history
…5529-upstream-release-1.14

Automated cherry pick of #75529: bump required minimum go version to 1.12.1 (strings pkg compatibility)
  • Loading branch information
k8s-ci-robot committed Mar 21, 2019
2 parents 82481fa + 98f94d8 commit 641856d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/lib/golang.sh
Expand Up @@ -382,7 +382,7 @@ EOF
local go_version
IFS=" " read -ra go_version <<< "$(go version)"
local minimum_go_version
minimum_go_version=go1.11.1
minimum_go_version=go1.12.1
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 641856d

Please sign in to comment.