Caddy 0.10.11 Fix (#1544)

Caddy 0.10.11 is released. Fix CoreDNS to compile against that version.
This also helps people compiling CoreDNS and go getting non-vendored
deps.
This commit is contained in:
Miek Gieben
2018-02-21 07:15:57 +00:00
committed by GitHub
parent 86be6d2532
commit 22409290d9
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ godeps:
go get -u github.com/prometheus/client_golang/prometheus
go get -u golang.org/x/net/context
go get -u golang.org/x/text
(cd $(GOPATH)/src/github.com/mholt/caddy && git checkout -q v0.10.10)
(cd $(GOPATH)/src/github.com/mholt/caddy && git checkout -q v0.10.11)
(cd $(GOPATH)/src/github.com/miekg/dns && git checkout -q v1.0.4)
(cd $(GOPATH)/src/github.com/prometheus/client_golang && git checkout -q v0.8.0)
(cd $(GOPATH)/src/golang.org/x/net && git checkout -q release-branch.go1.9)

View File

@@ -34,7 +34,7 @@ func init() {
})
}
func newContext() caddy.Context {
func newContext(i *caddy.Instance) caddy.Context {
return &dnsContext{keysToConfigs: make(map[string]*Config)}
}