Merge pull request #55301 from xiangpengzhao/bump-min-go

Automatic merge from submit-queue (batch tested with PRs 55301, 55319, 54018, 55322, 55125). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Bump minimum supported go version to 1.9.1

**What this PR does / why we need it**:
If #55293 gets merged, we should bump minimum_go_version to 1.9.1

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
ref: #51375 https://github.com/kubernetes/kubernetes/pull/55293#issuecomment-342723106

**Special notes for your reviewer**:
/cc @cblecker @ixdy @luxas 

**Release note**:

```release-note
The minimum supported go version bumps to 1.9.1.
```
This commit is contained in:
Kubernetes Submit Queue 2017-11-08 20:23:21 -08:00 committed by GitHub
commit 7e1ef2f187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,7 +321,7 @@ EOF
local go_version
go_version=($(go version))
local minimum_go_version
minimum_go_version=go1.8.3
minimum_go_version=go1.9.1
if [[ "${go_version[2]}" < "${minimum_go_version}" && "${go_version[2]}" != "devel" ]]; then
kube::log::usage_from_stdin <<EOF
Detected go version: ${go_version[*]}.