mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -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:
@@ -265,9 +265,8 @@ func getReleaseUpdate(updateURL string, duration time.Duration) (updateMsg updat
|
||||
|
||||
// main entry point for update command.
|
||||
func mainUpdate(ctx *cli.Context) {
|
||||
|
||||
setGlobalsFromContext(ctx)
|
||||
if globalQuiet {
|
||||
// Set global quiet flag.
|
||||
if ctx.Bool("quiet") || ctx.GlobalBool("quiet") {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user