From a63b34a60128c13783380dbfa044854f85ecc6d2 Mon Sep 17 00:00:00 2001 From: Tomas Date: Wed, 14 Aug 2024 20:52:03 +0300 Subject: [PATCH] fix linting --- internal/log/log.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/log/log.go b/internal/log/log.go index 07cab6fa0..85b3eeff7 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -361,9 +361,7 @@ type LogrSink struct { // Ensure Logger implements logr.LogSink var _ logr.LogSink = &LogrSink{} -func (l LogrSink) Init(_ logr.RuntimeInfo) { - return -} +func (l LogrSink) Init(_ logr.RuntimeInfo) {} func (l LogrSink) Enabled(level int) bool { return otelLogLevelToGoLoggerLevel(level) <= loglvl