mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05: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