mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 19:55:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
2
plugin/cache/dnssec_test.go
vendored
2
plugin/cache/dnssec_test.go
vendored
@@ -65,7 +65,7 @@ func TestResponseWithDNSSEC(t *testing.T) {
|
||||
}
|
||||
|
||||
func dnssecHandler() plugin.Handler {
|
||||
return plugin.HandlerFunc(func(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
|
||||
return plugin.HandlerFunc(func(_ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
|
||||
m := new(dns.Msg)
|
||||
m.SetQuestion("example.org.", dns.TypeA)
|
||||
state := request.Request{W: &test.ResponseWriter{}, Req: r}
|
||||
|
||||
Reference in New Issue
Block a user