mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -27,7 +27,6 @@ func ContextWithMetadata(ctx context.Context) context.Context {
|
||||
|
||||
// ServeDNS implements the plugin.Handler interface.
|
||||
func (m *Metadata) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
|
||||
|
||||
ctx = ContextWithMetadata(ctx)
|
||||
|
||||
state := request.Request{W: w, Req: r}
|
||||
|
||||
Reference in New Issue
Block a user