From 2d332d01a7f47e7d7647374b9a4844feaf21d3a7 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 25 Sep 2018 13:33:58 -0400 Subject: Fix lint Signed-off-by: Matthew Heon --- pkg/resolvconf/resolvconf.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg/resolvconf/resolvconf.go') diff --git a/pkg/resolvconf/resolvconf.go b/pkg/resolvconf/resolvconf.go index 476999f00..fccd60093 100644 --- a/pkg/resolvconf/resolvconf.go +++ b/pkg/resolvconf/resolvconf.go @@ -35,8 +35,6 @@ var ( localhostNSRegexp = regexp.MustCompile(`(?m)^nameserver\s+` + dns.IPLocalhost + `\s*\n*`) nsIPv6Regexp = regexp.MustCompile(`(?m)^nameserver\s+` + ipv6Address + `\s*\n*`) nsRegexp = regexp.MustCompile(`^\s*nameserver\s*((` + ipv4Address + `)|(` + ipv6Address + `))\s*$`) - nsIPv6Regexpmatch = regexp.MustCompile(`^\s*nameserver\s*((` + ipv6Address + `))\s*$`) - nsIPv4Regexpmatch = regexp.MustCompile(`^\s*nameserver\s*((` + ipv4Address + `))\s*$`) searchRegexp = regexp.MustCompile(`^\s*search\s*(([^\s]+\s*)*)$`) optionsRegexp = regexp.MustCompile(`^\s*options\s*(([^\s]+\s*)*)$`) ) -- cgit v1.2.3-54-g00ecf