mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
server: handle command line and env variables at one place. (#3975)
This commit is contained in:
@@ -522,7 +522,7 @@ func newTestConfig(bucketLocation string) (rootPath string, err error) {
|
||||
setConfigDir(rootPath)
|
||||
|
||||
// Initialize server config.
|
||||
if err = newConfig(envParams{}); err != nil {
|
||||
if err = newConfig(); err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user