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:
@@ -62,9 +62,9 @@ func AddPrefix(b []byte) (m []byte) {
|
||||
|
||||
// These methods implement the dns.ResponseWriter interface from Go DNS.
|
||||
|
||||
func (w *DoQWriter) TsigStatus() error { return w.tsigStatus }
|
||||
func (w *DoQWriter) TsigTimersOnly(b bool) {}
|
||||
func (w *DoQWriter) Hijack() {}
|
||||
func (w *DoQWriter) LocalAddr() net.Addr { return w.localAddr }
|
||||
func (w *DoQWriter) RemoteAddr() net.Addr { return w.remoteAddr }
|
||||
func (w *DoQWriter) Network() string { return "" }
|
||||
func (w *DoQWriter) TsigStatus() error { return w.tsigStatus }
|
||||
func (w *DoQWriter) TsigTimersOnly(_b bool) {}
|
||||
func (w *DoQWriter) Hijack() {}
|
||||
func (w *DoQWriter) LocalAddr() net.Addr { return w.localAddr }
|
||||
func (w *DoQWriter) RemoteAddr() net.Addr { return w.remoteAddr }
|
||||
func (w *DoQWriter) Network() string { return "" }
|
||||
|
||||
Reference in New Issue
Block a user