mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
Add version checks for golang 1.5.1
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ func checkGolangRuntimeVersion() {
|
||||
v1 := newVersion(getNormalizedGolangVersion())
|
||||
v2 := newVersion(minGolangRuntimeVersion)
|
||||
if v1.LessThan(v2) {
|
||||
Errorln("Old Golang runtime version ‘" + v1.String() + "’ detected., ‘mc’ requires minimum go1.5 or later.")
|
||||
Errorln("Old Golang runtime version ‘" + v1.String() + "’ detected., ‘mc’ requires minimum go1.5.1 or later.")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user