mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
fix error formatting (#3639)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -94,7 +94,7 @@ func parse(c *caddy.Controller) (*Transfer, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(x.to) == 0 {
|
if len(x.to) == 0 {
|
||||||
return nil, plugin.Error("transfer", c.Errf("'to' is required", c.Val()))
|
return nil, plugin.Error("transfer", c.Err("'to' is required"))
|
||||||
}
|
}
|
||||||
t.xfrs = append(t.xfrs, x)
|
t.xfrs = append(t.xfrs, x)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user