mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -35,7 +35,6 @@ func parse(c *caddy.Controller) error {
|
||||
case 1:
|
||||
if args[0] != "round_robin" {
|
||||
return fmt.Errorf("unknown policy: %s", args[0])
|
||||
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user