From 9292a8cca0713e1024a42ca2984ca3af360fea42 Mon Sep 17 00:00:00 2001 From: David Eads Date: Thu, 7 Dec 2017 17:58:23 -0500 Subject: [PATCH] hacks for go1.9 --- hack/lib/util/golang.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/lib/util/golang.sh b/hack/lib/util/golang.sh index 3bbb1ebf48b0..b35c3bf36dda 100644 --- a/hack/lib/util/golang.sh +++ b/hack/lib/util/golang.sh @@ -11,7 +11,8 @@ function os::golang::verify_go_version() { if [[ "${go_version[2]}" != go1.8* ]]; then os::log::info "Detected go version: ${go_version[*]}." if [[ -z "${PERMISSIVE_GO:-}" ]]; then - os::log::fatal "Please install Go version ${OS_REQUIRED_GO_VERSION} or use PERMISSIVE_GO=y to bypass this check." + os::log::warning "Please install Go version ${OS_REQUIRED_GO_VERSION} or use PERMISSIVE_GO=y to bypass this check." + return 0 else os::log::warning "Detected golang version doesn't match required Go version." os::log::warning "This version mismatch could lead to differences in execution between this run and the CI systems."