mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Move go version check into main() (#3734)
Previously the check was done in init(). This patch moves into main for unit testable friendly function.
This commit is contained in:
@@ -31,11 +31,6 @@ import (
|
||||
"github.com/minio/minio/pkg/objcache"
|
||||
)
|
||||
|
||||
// Global constants for Minio.
|
||||
const (
|
||||
minGoVersion = ">= 1.7" // Minio requires at least Go v1.7
|
||||
)
|
||||
|
||||
// minio configuration related constants.
|
||||
const (
|
||||
globalMinioConfigVersion = "13"
|
||||
|
||||
Reference in New Issue
Block a user