mirror of
https://github.com/pgsty/minio.git
synced 2026-07-25 15:06:17 +03:00
fix: prioritize audit_webhook and logger_webhook ENVs over the config KVS (#17783)
This commit is contained in:
@@ -41,7 +41,7 @@ func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
|
||||
},
|
||||
config.KV{
|
||||
Key: Endpoint,
|
||||
Value: args.Endpoint,
|
||||
Value: args.Endpoint.String(),
|
||||
},
|
||||
config.KV{
|
||||
Key: AuthToken,
|
||||
@@ -64,7 +64,7 @@ func SetLoggerHTTP(scfg config.Config, k string, args http.Config) {
|
||||
},
|
||||
config.KV{
|
||||
Key: Endpoint,
|
||||
Value: args.Endpoint,
|
||||
Value: args.Endpoint.String(),
|
||||
},
|
||||
config.KV{
|
||||
Key: AuthToken,
|
||||
|
||||
Reference in New Issue
Block a user