mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -32,7 +32,6 @@ func templateParse(c *caddy.Controller) (handler Handler, err error) {
|
||||
handler.Templates = make([]template, 0)
|
||||
|
||||
for c.Next() {
|
||||
|
||||
if !c.NextArg() {
|
||||
return handler, c.ArgErr()
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ func TestSetup(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSetupParse(t *testing.T) {
|
||||
|
||||
serverBlockKeys := []string{"domain.com.:8053", "dynamic.domain.com.:8053"}
|
||||
|
||||
tests := []struct {
|
||||
|
||||
Reference in New Issue
Block a user