Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
phillip-stephens committed Dec 18, 2024
1 parent c0a07ad commit 488aa8a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/zdns/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ func (r *Resolver) doDstServersLookup(ctx context.Context, q Question, nameServe
q.Name = qname[:len(qname)-1]
}
}
ctx, cancel := context.WithTimeout(context.Background(), r.timeout)
defer cancel()

if r.shouldValidateDNSSEC {
r.validator = makeDNSSECValidator(r, ctx, isIterative)
}
Expand Down

0 comments on commit 488aa8a

Please sign in to comment.