Skip to content

Commit 81ce68d

Browse files
committed
Fix lint
1 parent 1f40c93 commit 81ce68d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/internal/dns/upstream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (u *upstreamResolverBase) handleUpstreamError(err error, upstream netip.Add
197197
timeoutMsg += " " + peerInfo
198198
}
199199
timeoutMsg += fmt.Sprintf(" - error: %v", err)
200-
logger.Warnf(timeoutMsg)
200+
logger.Warn(timeoutMsg)
201201
}
202202

203203
func (u *upstreamResolverBase) writeSuccessResponse(w dns.ResponseWriter, rm *dns.Msg, upstream netip.AddrPort, domain string, t time.Duration, logger *log.Entry) bool {

0 commit comments

Comments
 (0)