mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 11:45:33 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
type responseWriter struct{ dns.ResponseWriter }
|
||||
|
||||
func (r *responseWriter) WriteMsg(m *dns.Msg) error { return nil }
|
||||
func (r *responseWriter) WriteMsg(_m *dns.Msg) error { return nil }
|
||||
func (r *responseWriter) Write(buf []byte) (int, error) { return len(buf), nil }
|
||||
|
||||
func TestNewRecorder(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user