mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Compile fixes and make it work
This commit is contained in:
@@ -147,7 +147,7 @@ func autoParse(c *caddy.Controller) (Auto, error) {
|
||||
case "upstream":
|
||||
args := c.RemainingArgs()
|
||||
if len(args) == 0 {
|
||||
return a, false, c.ArgErr()
|
||||
return a, c.ArgErr()
|
||||
}
|
||||
for i := 0; i < len(args); i++ {
|
||||
h, p, e := net.SplitHostPort(args[i])
|
||||
|
||||
Reference in New Issue
Block a user