diff --git a/pkg/proxy/util/utils.go b/pkg/proxy/util/utils.go index 48aa3cc34e5..da232fef982 100644 --- a/pkg/proxy/util/utils.go +++ b/pkg/proxy/util/utils.go @@ -17,7 +17,6 @@ limitations under the License. package util import ( - "context" "fmt" "net" "strconv" @@ -86,11 +85,6 @@ func IsLoopBack(ip string) bool { return false } -// Resolver is an interface for net.Resolver -type Resolver interface { - LookupIPAddr(ctx context.Context, host string) ([]net.IPAddr, error) -} - // GetLocalAddrs returns a list of all network addresses on the local system func GetLocalAddrs() ([]net.IP, error) { var localAddrs []net.IP