plugin/file: Use new zone parser API (#2219)

* plugin/file: Use new zone parser API

Use new dns lib 1.0.14 and default to using the new zone parser that
does not leak go-routines.

Signed-off-by: Miek Gieben <miek@miek.nl>

* Use new API

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2018-10-23 20:19:36 +01:00
committed by GitHub
parent 22bffa7282
commit e8e8187a64
2 changed files with 9 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ godeps:
go get -u github.com/prometheus/client_golang/prometheus/promhttp
go get -u github.com/prometheus/client_golang/prometheus
(cd $(GOPATH)/src/github.com/mholt/caddy && git checkout -q v0.10.13)
(cd $(GOPATH)/src/github.com/miekg/dns && git checkout -q v1.0.12)
(cd $(GOPATH)/src/github.com/miekg/dns && git checkout -q v1.0.14)
(cd $(GOPATH)/src/github.com/prometheus/client_golang && git checkout -q v0.8.0)
@ # for travis only, if this fails we don't care, but don't see benchmarks
go get -u golang.org/x/tools/cmd/benchcmp || true