golangci-lint: minimal changes to make make lint pass again

This commit is contained in:
Christian Schwarz
2026-01-20 22:01:44 +00:00
parent b4b16f7bca
commit 899e23762a
9 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func WithLogger(ctx context.Context, log Logger) context.Context {
return context.WithValue(ctx, contextKeyLogger, log)
}
//nolint:deadcode,unused
//nolint:unused
func getLog(ctx context.Context) Logger {
log, ok := ctx.Value(contextKeyLogger).(Logger)
if !ok {