mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 10:13:14 -05:00
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.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user