mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -135,7 +135,6 @@ func (a *AutoPath) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Ms
|
||||
w.WriteMsg(msg)
|
||||
autoPathCount.WithLabelValues(metrics.WithServer(ctx)).Add(1)
|
||||
return rcode, err
|
||||
|
||||
}
|
||||
if plugin.ClientWrite(firstRcode) {
|
||||
w.WriteMsg(firstReply)
|
||||
|
||||
Reference in New Issue
Block a user