mirror of
https://github.com/minio/minio.git
synced 2025-04-01 10:13:42 -04:00
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()
|
setDefaultProfilerRates()
|
||||||
|
|
||||||
// Handle all server environment vars.
|
|
||||||
serverHandleEnvVars()
|
|
||||||
|
|
||||||
// Handle all server command args.
|
// Handle all server command args.
|
||||||
bootstrapTrace("serverHandleCmdArgs", func() {
|
bootstrapTrace("serverHandleCmdArgs", func() {
|
||||||
serverHandleCmdArgs(ctx)
|
serverHandleCmdArgs(ctx)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Handle all server environment vars.
|
||||||
|
serverHandleEnvVars()
|
||||||
|
|
||||||
// Initialize globalConsoleSys system
|
// Initialize globalConsoleSys system
|
||||||
bootstrapTrace("newConsoleLogger", func() {
|
bootstrapTrace("newConsoleLogger", func() {
|
||||||
globalConsoleSys = NewConsoleLogger(GlobalContext)
|
globalConsoleSys = NewConsoleLogger(GlobalContext)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user