mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	plugin/forward: fix healthchecker crash (#2165)
This commit is contained in:
		
				
					committed by
					
						 Miek Gieben
						Miek Gieben
					
				
			
			
				
	
			
			
			
						parent
						
							cbcc38bcb5
						
					
				
				
					commit
					298b860a97
				
			| @@ -12,12 +12,15 @@ import ( | ||||
|  | ||||
| 	"github.com/coredns/coredns/plugin" | ||||
| 	"github.com/coredns/coredns/plugin/debug" | ||||
| 	clog "github.com/coredns/coredns/plugin/pkg/log" | ||||
| 	"github.com/coredns/coredns/request" | ||||
|  | ||||
| 	"github.com/miekg/dns" | ||||
| 	ot "github.com/opentracing/opentracing-go" | ||||
| ) | ||||
|  | ||||
| var log = clog.NewWithPlugin("forward") | ||||
|  | ||||
| // Forward represents a plugin instance that can proxy requests to another (DNS) server. It has a list | ||||
| // of proxies each representing one upstream proxy. | ||||
| type Forward struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user