diff options
author | 2022-07-10 20:06:33 +0200 | |
---|---|---|
committer | 2022-07-10 11:06:33 -0700 | |
commit | c2dbb7141a7c95aa521a41b27bed3af25de8f546 (patch) | |
tree | 3af5d63a0dccaa769507e34a32b6378ccef880c4 /plugin/k8s_external/msg_to_dns.go | |
parent | abc5ac8017b0f434b5845321fb1f405ded7774d4 (diff) | |
download | coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.gz coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.zst coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.zip |
add golangci-lint linter (#5499)
Diffstat (limited to 'plugin/k8s_external/msg_to_dns.go')
-rw-r--r-- | plugin/k8s_external/msg_to_dns.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugin/k8s_external/msg_to_dns.go b/plugin/k8s_external/msg_to_dns.go index db859cf70..6975718b9 100644 --- a/plugin/k8s_external/msg_to_dns.go +++ b/plugin/k8s_external/msg_to_dns.go @@ -15,7 +15,6 @@ func (e *External) a(ctx context.Context, services []msg.Service, state request. dup := make(map[string]struct{}) for _, s := range services { - what, ip := s.HostType() switch what { @@ -48,7 +47,6 @@ func (e *External) aaaa(ctx context.Context, services []msg.Service, state reque dup := make(map[string]struct{}) for _, s := range services { - what, ip := s.HostType() switch what { @@ -127,7 +125,6 @@ func (e *External) srv(ctx context.Context, services []msg.Service, state reques what, ip := s.HostType() switch what { - case dns.TypeCNAME: addr := dns.Fqdn(s.Host) srv := s.NewSRV(state.QName(), weight) |