mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 02:33:14 -04:00
doc: some function/vars/const/package level updates (#1558)
* doc: some function/vars/const/package level updates Various update that stood out while reading godoc.org for CoreDNS. * Fix some misspellings as well
This commit is contained in:
@@ -25,7 +25,7 @@ func init() {
|
||||
func setup(c *caddy.Controller) error {
|
||||
f, err := parseForward(c)
|
||||
if err != nil {
|
||||
return plugin.Error("foward", err)
|
||||
return plugin.Error("forward", err)
|
||||
}
|
||||
if f.Len() > max {
|
||||
return plugin.Error("forward", fmt.Errorf("more than %d TOs configured: %d", max, f.Len()))
|
||||
|
||||
Reference in New Issue
Block a user