Merge pull request #12234 from eparis/run-gofmt-on-15

Support golang 1.5 in verify-gofmt
pull/6/head
Alex Mohr 2015-08-04 17:34:36 -07:00
commit 927268e619
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
GO_VERSION=($(go version))
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4') ]]; then
if [[ -z $(echo "${GO_VERSION[2]}" | grep -E 'go1.2|go1.3|go1.4|go1.5') ]]; then
echo "Unknown go version '${GO_VERSION}', skipping gofmt."
exit 0
fi