From 06d945fc322a6af44d0a81b285ca4653bea963ab Mon Sep 17 00:00:00 2001 From: JoeWrightss <42261994+JoeWrightss@users.noreply.github.com> Date: Fri, 8 Feb 2019 00:27:27 +0800 Subject: [PATCH] Fix some spelling errors in comment (#2533) Signed-off-by: zhoulin xie --- plugin/cache/error_test.go | 2 +- plugin/etcd/msg/path.go | 2 +- 2 files changed, 2 insertions(+), 2 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) diff --git a/plugin/etcd/msg/path.go b/plugin/etcd/msg/path.go index dc7494782..c90798035 100644 --- a/plugin/etcd/msg/path.go +++ b/plugin/etcd/msg/path.go @@ -30,7 +30,7 @@ func Domain(s string) string { } // PathWithWildcard ascts as Path, but if a name contains wildcards (* or any), the name will be -// chopped of before the (first) wildcard, and we do a highler evel search and +// chopped of before the (first) wildcard, and we do a higher level search and // later find the matching names. So service.*.skydns.local, will look for all // services under skydns.local and will later check for names that match // service.*.skydns.local. If a wildcard is found the returned bool is true.