mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 17:53:21 -04:00 
			
		
		
		
	Fix go fmt, go lint, and go vet issues (#494)
				
					
				
			This fix fixes several `go fmt`, `go lint`, and `go vet` issues, to make goreportcard happy: https://goreportcard.com/report/github.com/miekg/coredns Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
		| @@ -38,7 +38,7 @@ func setup(c *caddy.Controller) error { | ||||
|  | ||||
| func traceParse(c *caddy.Controller) (*Trace, error) { | ||||
| 	var ( | ||||
| 		tr = &Trace{Endpoint: defEP, EndpointType: defEpType} | ||||
| 		tr  = &Trace{Endpoint: defEP, EndpointType: defEpType} | ||||
| 		err error | ||||
| 	) | ||||
|  | ||||
| @@ -82,6 +82,6 @@ func normalizeEndpoint(epType, ep string) (string, error) { | ||||
| var traceOnce sync.Once | ||||
|  | ||||
| const ( | ||||
| 	defEP = "localhost:9411" | ||||
| 	defEP     = "localhost:9411" | ||||
| 	defEpType = "zipkin" | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user