diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | core/dnsserver/register.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) diff --git a/core/dnsserver/register.go b/core/dnsserver/register.go index 058ed1079..8be36cd22 100644 --- a/core/dnsserver/register.go +++ b/core/dnsserver/register.go @@ -34,7 +34,7 @@ func init() { }) } -func newContext() caddy.Context { +func newContext(i *caddy.Instance) caddy.Context { return &dnsContext{keysToConfigs: make(map[string]*Config)} } |