mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Remove globalQuiet and globalConfigDir global variables (#3830)
This commit is contained in:
@@ -112,7 +112,7 @@ func TestServerConfig(t *testing.T) {
|
||||
}
|
||||
|
||||
// Do this only once here.
|
||||
setGlobalConfigPath(rootPath)
|
||||
setConfigDir(rootPath)
|
||||
|
||||
// Initialize server config.
|
||||
if err := loadConfig(envParams{}); err != nil {
|
||||
@@ -143,7 +143,7 @@ func TestServerConfigWithEnvs(t *testing.T) {
|
||||
}
|
||||
|
||||
// Do this only once here.
|
||||
setGlobalConfigPath(rootPath)
|
||||
setConfigDir(rootPath)
|
||||
|
||||
// Init config
|
||||
initConfig()
|
||||
|
||||
Reference in New Issue
Block a user