summaryrefslogtreecommitdiff
path: root/pkg/resolvconf/resolvconf.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-09-25 13:33:58 -0400
committerMatthew Heon <matthew.heon@gmail.com>2018-10-04 17:34:59 -0400
commit2d332d01a7f47e7d7647374b9a4844feaf21d3a7 (patch)
treecdc431b096d3c74bea34bddfb1f96a7f282a7c50 /pkg/resolvconf/resolvconf.go
parent52de75501c59baacf3be993253e44e4eaf494b2f (diff)
downloadpodman-2d332d01a7f47e7d7647374b9a4844feaf21d3a7.tar.gz
podman-2d332d01a7f47e7d7647374b9a4844feaf21d3a7.tar.bz2
podman-2d332d01a7f47e7d7647374b9a4844feaf21d3a7.zip
Fix lint
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'pkg/resolvconf/resolvconf.go')
-rw-r--r--pkg/resolvconf/resolvconf.go2
1 files changed, 0 insertions, 2 deletions
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*)*)$`)
)