aboutsummaryrefslogtreecommitdiff
path: root/plugin/normalize.go
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2019-01-08 08:30:03 -0500
committerGravatar GitHub <noreply@github.com> 2019-01-08 08:30:03 -0500
commit18f25dbef3a33092925e48e7d7f9c8d8f744cd05 (patch)
treea8b06f1b3f95adece02aff322e9a77aa2406a62e /plugin/normalize.go
parent418edd2a2feeb759218afbf02784b1904569ec14 (diff)
downloadcoredns-18f25dbef3a33092925e48e7d7f9c8d8f744cd05.tar.gz
coredns-18f25dbef3a33092925e48e7d7f9c8d8f744cd05.tar.zst
coredns-18f25dbef3a33092925e48e7d7f9c8d8f744cd05.zip
plugin/kubernetes: fix case preservation and add test (#2430)
* fix case preservation and add test * only fix case in k8s
Diffstat (limited to 'plugin/normalize.go')
-rw-r--r--plugin/normalize.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/normalize.go b/plugin/normalize.go
index dc295ce01..6402bf8d9 100644
--- a/plugin/normalize.go
+++ b/plugin/normalize.go
@@ -15,8 +15,8 @@ import (
// Zones respresents a lists of zone names.
type Zones []string
-// Matches checks is qname is a subdomain of any of the zones in z. The match
-// will return the most specific zones that matches other. The empty string
+// Matches checks if qname is a subdomain of any of the zones in z. The match
+// will return the most specific zones that matches. The empty string
// signals a not found condition.
func (z Zones) Matches(qname string) string {
zone := ""