mirror of
https://github.com/coredns/coredns.git
synced 2025-12-07 02:45:11 -05:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -40,7 +40,7 @@ func etcdParse(c *caddy.Controller) (*Etcd, error) {
|
||||
|
||||
etc.Upstream = upstream.New()
|
||||
|
||||
for c.Next() {
|
||||
if c.Next() {
|
||||
etc.Zones = plugin.OriginsFromArgsOrServerBlock(c.RemainingArgs(), c.ServerBlockKeys)
|
||||
for c.NextBlock() {
|
||||
switch c.Val() {
|
||||
|
||||
Reference in New Issue
Block a user