mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -12,7 +12,6 @@ import (
|
||||
|
||||
// Reverse implements the ServiceBackend interface.
|
||||
func (k *Kubernetes) Reverse(ctx context.Context, state request.Request, exact bool, opt plugin.Options) ([]msg.Service, error) {
|
||||
|
||||
ip := dnsutil.ExtractAddressFromReverse(state.Name())
|
||||
if ip == "" {
|
||||
_, e := k.Records(ctx, state, exact)
|
||||
|
||||
Reference in New Issue
Block a user