aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/autopath.go
diff options
context:
space:
mode:
authorGravatar Hu Shuai <hus.fnst@cn.fujitsu.com> 2020-09-01 15:10:45 +0800
committerGravatar GitHub <noreply@github.com> 2020-09-01 09:10:45 +0200
commite233f59ee8fa3ea7e3a965ba66241dd65465926a (patch)
tree72d2e9b7f6dde9c6fee4a2659656233f9af984a3 /plugin/kubernetes/autopath.go
parent9e4a177d9f422583e68ade2404e598827b091263 (diff)
downloadcoredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.gz
coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.zst
coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.zip
Fix some typos in comments. (#4100)
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
Diffstat (limited to 'plugin/kubernetes/autopath.go')
-rw-r--r--plugin/kubernetes/autopath.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/kubernetes/autopath.go b/plugin/kubernetes/autopath.go
index 6bca35d39..e87389768 100644
--- a/plugin/kubernetes/autopath.go
+++ b/plugin/kubernetes/autopath.go
@@ -49,7 +49,7 @@ func (k *Kubernetes) AutoPath(state request.Request) []string {
return search
}
-// podWithIP return the api.Pod for source IP. It returns nil if nothing can be found.
+// podWithIP returns the api.Pod for source IP. It returns nil if nothing can be found.
func (k *Kubernetes) podWithIP(ip string) *object.Pod {
if k.podMode != podModeVerified {
return nil