fix: prioritize audit_webhook and logger_webhook ENVs over the config KVS (#17783)

This commit is contained in:
Praveen raj Mani
2023-08-03 15:17:07 +05:30
committed by GitHub
parent 45fb375c41
commit 0285df5a02
4 changed files with 91 additions and 176 deletions

View File

@@ -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,