mirror of
https://github.com/coredns/coredns.git
synced 2026-04-09 21:45:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -19,7 +19,7 @@ const name = "whoami"
|
||||
type Whoami struct{}
|
||||
|
||||
// ServeDNS implements the plugin.Handler interface.
|
||||
func (wh Whoami) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
|
||||
func (wh Whoami) ServeDNS(_ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
|
||||
state := request.Request{W: w, Req: r}
|
||||
|
||||
a := new(dns.Msg)
|
||||
|
||||
Reference in New Issue
Block a user