Deal with linting errors

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
pull/30708/head
Benoit Tigeot 6 months ago
parent 394ba2d55e
commit 3a22df9731
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -33,10 +33,10 @@ type Logger interface {
type NopLogger struct{}
// Debug implements Logger.Debug by doing nothing.
func (NopLogger) Debug(msg string, args ...any) {}
func (NopLogger) Debug(_ string, args ...any) {}
// Warn implements Logger.Warn by doing nothing.
func (NopLogger) Warn(msg string, args ...any) {}
func (NopLogger) Warn(_ string, args ...any) {}
// DefaultLogger provides a no-op logger that discards all messages.
// It can be used as a default when no logger is provided.

Loading…
Cancel
Save