mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -30,7 +30,7 @@ func parse(c *caddy.Controller) (string, []string, error) {
|
||||
chaosVersion = caddy.AppName + "-" + caddy.AppVersion
|
||||
version := ""
|
||||
|
||||
for c.Next() {
|
||||
if c.Next() {
|
||||
args := c.RemainingArgs()
|
||||
if len(args) == 0 {
|
||||
return trim(chaosVersion), Owners, nil
|
||||
|
||||
Reference in New Issue
Block a user