aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/autopath.go
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2018-02-12 14:27:16 -0500
committerGravatar John Belamaric <jbelamaric@infoblox.com> 2018-02-12 14:27:16 -0500
commitca5097ca138553d081c82db24d1cb2baa96bfca3 (patch)
tree1cb2e9366e1e821cbb28d397d1730eccd4970d0c /plugin/kubernetes/autopath.go
parentbd156dc9d19867f98bfac0d8fe9945f923724a7c (diff)
downloadcoredns-ca5097ca138553d081c82db24d1cb2baa96bfca3.tar.gz
coredns-ca5097ca138553d081c82db24d1cb2baa96bfca3.tar.zst
coredns-ca5097ca138553d081c82db24d1cb2baa96bfca3.zip
reqd changes (#1522)
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 45fe26088..cf5a7f06a 100644
--- a/plugin/kubernetes/autopath.go
+++ b/plugin/kubernetes/autopath.go
@@ -10,7 +10,7 @@ import (
// AutoPath implements the AutoPathFunc call from the autopath plugin.
// It returns a per-query search path or nil indicating no searchpathing should happen.
func (k *Kubernetes) AutoPath(state request.Request) []string {
- // Check if the query falls in a zone we are actually authoriative for and thus if we want autopath.
+ // Check if the query falls in a zone we are actually authoritative for and thus if we want autopath.
zone := plugin.Zones(k.Zones).Matches(state.Name())
if zone == "" {
return nil