Skip to content

Commit a5ddc39

Browse files
author
Han Kang
committed
bump required minimum go version to 1.12.1 (strings package compatibility)
1 parent 4940eae commit a5ddc39

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)