diff options
author | 2019-08-22 22:35:55 +0800 | |
---|---|---|
committer | 2019-08-22 14:35:55 +0000 | |
commit | 7918190901de84e3aeeda41c80bc30ed40fdf432 (patch) | |
tree | c0fefdf8365a8ffca7b2e99910d3dbd6a44757f9 /plugin | |
parent | 434ac69a03579708bd3a7311961a0a18adba61f2 (diff) | |
download | coredns-7918190901de84e3aeeda41c80bc30ed40fdf432.tar.gz coredns-7918190901de84e3aeeda41c80bc30ed40fdf432.tar.zst coredns-7918190901de84e3aeeda41c80bc30ed40fdf432.zip |
Cleanup: fix some typos in code comment (#3172)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/etcd/msg/path.go | 2 | ||||
-rw-r--r-- | plugin/forward/forward.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/etcd/msg/path.go b/plugin/etcd/msg/path.go index c90798035..bfa458863 100644 --- a/plugin/etcd/msg/path.go +++ b/plugin/etcd/msg/path.go @@ -29,7 +29,7 @@ func Domain(s string) string { return dnsutil.Join(l[1 : len(l)-1]...) } -// PathWithWildcard ascts as Path, but if a name contains wildcards (* or any), the name will be +// PathWithWildcard acts as Path, but if a name contains wildcards (* or any), the name will be // 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 diff --git a/plugin/forward/forward.go b/plugin/forward/forward.go index da2b2beb4..4abd80bae 100644 --- a/plugin/forward/forward.go +++ b/plugin/forward/forward.go @@ -89,7 +89,7 @@ func (f *Forward) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg if fails < len(f.proxies) { continue } - // All upstream proxies are dead, assume healtcheck is completely broken and randomly + // All upstream proxies are dead, assume healthcheck is completely broken and randomly // select an upstream to connect to. r := new(random) proxy = r.List(f.proxies)[0] |