mirror of
https://github.com/coredns/coredns.git
synced 2025-12-09 11:55:13 -05:00
chore: Upgrade to golangci-lint v2 (#7236)
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
@@ -11,10 +11,10 @@ type loggerAdapter struct {
|
||||
}
|
||||
|
||||
func (l *loggerAdapter) Write(p []byte) (n int, err error) {
|
||||
l.P.Warning(string(p))
|
||||
l.Warning(string(p))
|
||||
return len(p), nil
|
||||
}
|
||||
|
||||
func (l *loggerAdapter) Log(msg string) {
|
||||
l.P.Warning(msg)
|
||||
l.Warning(msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user