Commit 488464b6 authored by Chris O'Haver's avatar Chris O'Haver Committed by GitHub

fix error formatting (#3639)

Signed-off-by: default avatarChris O'Haver <cohaver@infoblox.com>
parent da7f65b3
...@@ -94,7 +94,7 @@ func parse(c *caddy.Controller) (*Transfer, error) { ...@@ -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)
} }
......
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