mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user