Provider Auth: use base logger if available (#26138)

This commit is contained in:
andig 2025-12-22 10:22:10 +01:00 • committed by GitHub
parent 6ecf041d9a
commit 31bb62148d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 45 additions and 33 deletions

View file

@ -61,7 +61,7 @@ func NewHTTPPluginFromConfig(ctx context.Context, other map[string]any) (Plugin,
return nil, errors.New("missing uri")
}
log := contextLogger(ctx, util.NewLogger("http"))
log := util.ContextLoggerWithDefault(ctx, util.NewLogger("http"))
p := NewHTTP(
log,
strings.ToUpper(cc.Method),