mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -91,7 +91,6 @@ func TestLoadBalance(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Errorf("Test %d: Expected no error, but got %s", i, err)
|
||||
continue
|
||||
|
||||
}
|
||||
|
||||
cname, address, mx, sorted := countRecords(rec.Msg.Answer)
|
||||
|
||||
@@ -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