mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -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 {
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user