mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-02-04 23:27:09 +01:00
fix linting
This commit is contained in:
parent
25b59e74ca
commit
a63b34a601
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue