mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
deprecate Normalize and MustNormalize (#4648)
* deprecate normalize and mustnormalize Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * add runtime warning Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * elaborate runtime warning Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * include caller info Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -33,7 +33,7 @@ func (f F) Through(qname string) bool {
|
||||
func (f *F) setZones(zones []string) {
|
||||
z := []string{}
|
||||
for i := range zones {
|
||||
z = append(z, plugin.Host(zones[i]).Normalize()...)
|
||||
z = append(z, plugin.Host(zones[i]).NormalizeExact()...)
|
||||
}
|
||||
f.Zones = z
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user