mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-27 10:47:35 +00:00
net/dns/resolver: fix log prefix
The passed in logf already has a "dns: " prefix so they were doubled up.
This commit is contained in:
parent
7634af5c6f
commit
47044f3af7
@ -217,7 +217,7 @@ type ForwardLinkSelector interface {
|
|||||||
// linkMon optionally specifies a link monitor to use for socket rebinding.
|
// linkMon optionally specifies a link monitor to use for socket rebinding.
|
||||||
func New(logf logger.Logf, linkMon *monitor.Mon, linkSel ForwardLinkSelector) *Resolver {
|
func New(logf logger.Logf, linkMon *monitor.Mon, linkSel ForwardLinkSelector) *Resolver {
|
||||||
r := &Resolver{
|
r := &Resolver{
|
||||||
logf: logger.WithPrefix(logf, "dns: "),
|
logf: logger.WithPrefix(logf, "resolver: "),
|
||||||
linkMon: linkMon,
|
linkMon: linkMon,
|
||||||
responses: make(chan packet),
|
responses: make(chan packet),
|
||||||
errors: make(chan error),
|
errors: make(chan error),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user