mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	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:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -35,7 +35,7 @@ godeps: | |||||||
| 	go get -u github.com/prometheus/client_golang/prometheus | 	go get -u github.com/prometheus/client_golang/prometheus | ||||||
| 	go get -u golang.org/x/net/context | 	go get -u golang.org/x/net/context | ||||||
| 	go get -u golang.org/x/text | 	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/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/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) | 	(cd $(GOPATH)/src/golang.org/x/net                    && git checkout -q release-branch.go1.9) | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ func init() { | |||||||
| 	}) | 	}) | ||||||
| } | } | ||||||
|  |  | ||||||
| func newContext() caddy.Context { | func newContext(i *caddy.Instance) caddy.Context { | ||||||
| 	return &dnsContext{keysToConfigs: make(map[string]*Config)} | 	return &dnsContext{keysToConfigs: make(map[string]*Config)} | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user