mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 17:53:21 -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:
		| @@ -70,7 +70,7 @@ func parse(c *caddy.Controller) (*Loop, error) { | ||||
| 		} | ||||
|  | ||||
| 		if len(c.ServerBlockKeys) > 0 { | ||||
| 			zones = plugin.Host(c.ServerBlockKeys[0]).Normalize() | ||||
| 			zones = plugin.Host(c.ServerBlockKeys[0]).NormalizeExact() | ||||
| 		} | ||||
| 	} | ||||
| 	return New(zones[0]), nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user