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:
@@ -46,7 +46,7 @@ func TestAnyNonANYQuery(t *testing.T) {
|
||||
|
||||
nextCalled := false
|
||||
a := &Any{
|
||||
Next: test.HandlerFunc(func(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
|
||||
Next: test.HandlerFunc(func(_ctx context.Context, _w dns.ResponseWriter, _r *dns.Msg) (int, error) {
|
||||
nextCalled = true
|
||||
return 0, nil
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user