mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	all: gometalinter (#843)
* kubernetes/reverse: remove deadcode * deadcode in errors and kubernetes removed * unnecessary conversion * constants * proxy: time.Since() * simplications * static check * Disable test/external_test
This commit is contained in:
		| @@ -65,7 +65,7 @@ func parseErratic(c *caddy.Controller) (*Erratic, error) { | ||||
|  | ||||
| 				// Defaults. | ||||
| 				e.delay = 2 | ||||
| 				e.duration = time.Duration(100 * time.Millisecond) | ||||
| 				e.duration = 100 * time.Millisecond | ||||
| 				if len(args) == 0 { | ||||
| 					continue | ||||
| 				} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user