mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
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:
@@ -490,6 +490,8 @@ func resetGlobalIsXL() {
|
||||
|
||||
func resetGlobalIsEnvs() {
|
||||
globalIsEnvCreds = false
|
||||
globalIsEnvBrowser = false
|
||||
globalIsEnvRegion = false
|
||||
}
|
||||
|
||||
// Resets all the globals used modified in tests.
|
||||
|
||||
Reference in New Issue
Block a user