Commit 3c6964ac authored by Roman Mazur's avatar Roman Mazur Committed by Miek Gieben

No `f` in in line 73 in coredns/middleware/secondary/setup.go (#721)

Cant' transfer zone from masters without populating `f`.
This error prevents secondary zones recognized as "true" secondary, so secondary setting never worked.
parent 50ab28aa
...@@ -70,7 +70,7 @@ func secondaryParse(c *caddy.Controller) (file.Zones, error) { ...@@ -70,7 +70,7 @@ func secondaryParse(c *caddy.Controller) (file.Zones, error) {
switch c.Val() { switch c.Val() {
case "transfer": case "transfer":
t, _, e = file.TransferParse(c, true) t, f, e = file.TransferParse(c, true)
if e != nil { if e != nil {
return file.Zones{}, e return file.Zones{}, e
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment