From 343f2a6acf4b2cab1752165beabd2b0d497acd35 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 9 Sep 2015 14:54:19 -0700 Subject: [PATCH] Bump minGolangRuntimeVersion to 1.5.1 --- .travis.yml | 2 +- verify-runtime.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index eba6eeaf..6c120531 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: -- 1.5 +- 1.5.1 sudo: false notifications: slack: diff --git a/verify-runtime.go b/verify-runtime.go index af0e2fa6..60b22971 100644 --- a/verify-runtime.go +++ b/verify-runtime.go @@ -27,7 +27,7 @@ import ( "github.com/minio/minio/pkg/probe" ) -var minGolangVersion = "1.5" +var minGolangRuntimeVersion = "1.5.1" // following code handles the current Golang release styles, we might have to update them in future // if golang community divulges from the below formatting style. @@ -89,7 +89,7 @@ func (v1 version) LessThan(v2 version) bool { func checkGolangRuntimeVersion() { v1 := newVersion(getNormalizedGolangVersion()) - v2 := newVersion(minGolangVersion) + v2 := newVersion(minGolangRuntimeVersion) if v1.LessThan(v2) { errorIf(errDummy().Trace(), "Old Golang runtime version ‘"+v1.String()+"’ detected., ‘mc’ requires minimum go1.5 or later.")