aboutsummaryrefslogtreecommitdiff
path: root/plugin/cache/error_test.go
diff options
context:
space:
mode:
authorGravatar JoeWrightss <42261994+JoeWrightss@users.noreply.github.com> 2019-02-08 00:27:27 +0800
committerGravatar Francois Tur <ftur@infoblox.com> 2019-02-07 11:27:27 -0500
commit06d945fc322a6af44d0a81b285ca4653bea963ab (patch)
tree39c847590aae310cbfe9954206ec590094d20eb8 /plugin/cache/error_test.go
parent39cf4823485000fc5d83ac8d2513d6efda93b2e9 (diff)
downloadcoredns-06d945fc322a6af44d0a81b285ca4653bea963ab.tar.gz
coredns-06d945fc322a6af44d0a81b285ca4653bea963ab.tar.zst
coredns-06d945fc322a6af44d0a81b285ca4653bea963ab.zip
Fix some spelling errors in comment (#2533)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
Diffstat (limited to 'plugin/cache/error_test.go')
-rw-r--r--plugin/cache/error_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cache/error_test.go b/plugin/cache/error_test.go
index 7ae603e10..cd18fdaff 100644
--- a/plugin/cache/error_test.go
+++ b/plugin/cache/error_test.go
@@ -26,7 +26,7 @@ func TestFormErr(t *testing.T) {
}
}
-// formErrHanlder is a fake plugin implementation which returns a FORMERR for a reply.
+// formErrHandler is a fake plugin implementation which returns a FORMERR for a reply.
func formErrHandler() plugin.Handler {
return plugin.HandlerFunc(func(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) {
m := new(dns.Msg)