mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-22 13:49:26 -04:00
chore: fix unused parameter lint in new golangcilint version
This commit is contained in:
parent
68fc2b0811
commit
65903459a0
35 changed files with 92 additions and 92 deletions
|
@ -69,7 +69,7 @@ func GetClientStreamInterceptor(l *slog.Logger) grpc.DialOption {
|
|||
}
|
||||
|
||||
func middlewareLogger(l *slog.Logger) logging.Logger {
|
||||
return logging.LoggerFunc(func(ctx context.Context, lvl logging.Level, msg string, fields ...any) {
|
||||
return logging.LoggerFunc(func(_ context.Context, lvl logging.Level, msg string, fields ...any) {
|
||||
var pcs [1]uintptr
|
||||
runtime.Callers(2, pcs[:]) // skip [Callers, LoggerFunc]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue