mirror of https://github.com/minio/minio.git
fix: env depend on the flag (#18231)
This commit is contained in:
parent
9a877734b2
commit
20b79f8945
|
@ -579,14 +579,14 @@ func serverMain(ctx *cli.Context) {
|
|||
|
||||
setDefaultProfilerRates()
|
||||
|
||||
// Handle all server environment vars.
|
||||
serverHandleEnvVars()
|
||||
|
||||
// Handle all server command args.
|
||||
bootstrapTrace("serverHandleCmdArgs", func() {
|
||||
serverHandleCmdArgs(ctx)
|
||||
})
|
||||
|
||||
// Handle all server environment vars.
|
||||
serverHandleEnvVars()
|
||||
|
||||
// Initialize globalConsoleSys system
|
||||
bootstrapTrace("newConsoleLogger", func() {
|
||||
globalConsoleSys = NewConsoleLogger(GlobalContext)
|
||||
|
|
Loading…
Reference in New Issue