mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-02-05 07:37:02 +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
|
// Ensure Logger implements logr.LogSink
|
||||||
var _ logr.LogSink = &LogrSink{}
|
var _ logr.LogSink = &LogrSink{}
|
||||||
|
|
||||||
func (l LogrSink) Init(_ logr.RuntimeInfo) {
|
func (l LogrSink) Init(_ logr.RuntimeInfo) {}
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
func (l LogrSink) Enabled(level int) bool {
|
func (l LogrSink) Enabled(level int) bool {
|
||||||
return otelLogLevelToGoLoggerLevel(level) <= loglvl
|
return otelLogLevelToGoLoggerLevel(level) <= loglvl
|
||||||
|
|
Loading…
Reference in a new issue