mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 17:53:21 -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