fix linting

This commit is contained in:
Tomas 2024-08-14 20:52:03 +03:00
parent 25b59e74ca
commit a63b34a601

View file

@ -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