server: Introduce a new env MINIO_REGION. (#4078)

This is implemented to be able to override region
through command line just like how access and
secret keys are provided.
This commit is contained in:
Harshavardhana
2017-04-09 10:44:10 -07:00
committed by GitHub
parent 604417baf4
commit b927523223
5 changed files with 37 additions and 4 deletions

View File

@@ -490,6 +490,8 @@ func resetGlobalIsXL() {
func resetGlobalIsEnvs() {
globalIsEnvCreds = false
globalIsEnvBrowser = false
globalIsEnvRegion = false
}
// Resets all the globals used modified in tests.