mirror of
https://github.com/coredns/coredns.git
synced 2026-04-07 20:45:32 -04:00
lint(revive): fix unused-parameter violations (#7980)
This commit is contained in:
@@ -115,7 +115,7 @@ type deadlineCheckingClient struct {
|
||||
err error
|
||||
}
|
||||
|
||||
func (c *deadlineCheckingClient) Query(ctx context.Context, in *pb.DnsPacket, opts ...grpcgo.CallOption) (*pb.DnsPacket, error) {
|
||||
func (c *deadlineCheckingClient) Query(ctx context.Context, _in *pb.DnsPacket, _opts ...grpcgo.CallOption) (*pb.DnsPacket, error) {
|
||||
if dl, ok := ctx.Deadline(); ok {
|
||||
c.sawDeadline = true
|
||||
c.lastDeadline = dl
|
||||
|
||||
Reference in New Issue
Block a user