diff options
Diffstat (limited to 'plugin/k8s_external')
-rw-r--r-- | plugin/k8s_external/msg_to_dns.go | 3 | ||||
-rw-r--r-- | plugin/k8s_external/transfer_test.go | 2 |
2 files changed, 0 insertions, 5 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) diff --git a/plugin/k8s_external/transfer_test.go b/plugin/k8s_external/transfer_test.go index 62d48be8a..7e90803f3 100644 --- a/plugin/k8s_external/transfer_test.go +++ b/plugin/k8s_external/transfer_test.go @@ -83,7 +83,6 @@ func TestTransferAXFR(t *testing.T) { t.Errorf("%+v", rec) } } - } func TestTransferIXFR(t *testing.T) { @@ -127,7 +126,6 @@ func TestTransferIXFR(t *testing.T) { t.Errorf("%+v", rec) } } - } // difference shows what we're missing when comparing two RR slices |