aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/autopath.go
diff options
context:
space:
mode:
authorGravatar xieyanker <xjsisnice@gmail.com> 2019-09-26 20:19:45 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-09-26 13:19:45 +0100
commit9a5e4fa1a0cc9ee40f7cad6518eccc2d78839370 (patch)
tree1504b1e7d1de175031667b0ab64068f3f02ee829 /plugin/kubernetes/autopath.go
parent27e22b069683b4477b4509d88ea57c8963e90ad1 (diff)
downloadcoredns-9a5e4fa1a0cc9ee40f7cad6518eccc2d78839370.tar.gz
coredns-9a5e4fa1a0cc9ee40f7cad6518eccc2d78839370.tar.zst
coredns-9a5e4fa1a0cc9ee40f7cad6518eccc2d78839370.zip
fix mis-spelling (#3310)
Signed-off-by: xieyanker <xjsisnice@gmail.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 06bde0a69..33bf401f5 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 ip. It returns nil if nothing can be found.
+// podWithIP return the api.Pod for source IP. It returns nil if nothing can be found.
func (k *Kubernetes) podWithIP(ip string) *object.Pod {
ps := k.APIConn.PodIndex(ip)
if len(ps) == 0 {