Skip to content

Commit

Permalink
golangci: enforce use of cilium/dns over miekg/dns
Browse files Browse the repository at this point in the history
Commit 95e25bf ("go.mod, vendor: use github.com/cilium/dns fork
directly") switched to use the cilium/dns fork directly instead of using
a replace directive. Make sure that future changes don't introduce
dependencies on miekg/dns again.

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Sep 5, 2023
1 parent 7664f96 commit 29e057e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ linters-settings:
gomodguard:
blocked:
modules:
- github.com/miekg/dns:
recommendations:
- github.com/cilium/dns
reason: "use the cilium fork directly to avoid replace directives in go.mod, see https://github.com/cilium/cilium/pull/27582"
- gopkg.in/check.v1:
recommendations:
- testing
Expand Down

0 comments on commit 29e057e

Please sign in to comment.