mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
Revert "init: Honor config-dir flag when it is passed as global or local flag (#3337)"
This reverts commit e2ef95af7d.
This is reverted since the previous patch caused crashes.
This commit is contained in:
@@ -363,13 +363,8 @@ func serverMain(c *cli.Context) {
|
||||
cli.ShowCommandHelpAndExit(c, "server", 1)
|
||||
}
|
||||
|
||||
// Set global variables after parsing passed arguments
|
||||
setGlobalsFromContext(c)
|
||||
|
||||
checkUpdate()
|
||||
|
||||
// Generic initialization
|
||||
minioInit()
|
||||
// Set global quiet flag.
|
||||
globalQuiet = c.Bool("quiet") || c.GlobalBool("quiet")
|
||||
|
||||
// Server address.
|
||||
serverAddr := c.String("address")
|
||||
|
||||
Reference in New Issue
Block a user