From b11cf7c2bc1d7136755e81f104ddde1748f510cd Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 4 Aug 2017 16:03:30 -0700 Subject: [PATCH] not used anymore (#832) --- middleware/kubernetes/ns.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/middleware/kubernetes/ns.go b/middleware/kubernetes/ns.go index 488713d8b..d14a1e96d 100644 --- a/middleware/kubernetes/ns.go +++ b/middleware/kubernetes/ns.go @@ -14,16 +14,6 @@ const defaultNSName = "ns.dns." var corednsRecord dns.A -type interfaceAddrser interface { - interfaceAddrs() ([]net.Addr, error) -} - -type interfaceAddrs struct{} - -func (i interfaceAddrs) interfaceAddrs() ([]net.Addr, error) { - return net.InterfaceAddrs() -} - // DefaultNSMsg returns an msg.Service representing an A record for // ns.dns.[zone] -> dns service ip. This A record is needed to legitimize // the SOA response in middleware.NS(), which is hardcoded at ns.dns.[zone].