mirror of
https://github.com/coredns/coredns.git
synced 2025-11-18 09:52:17 -05: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