mirror of
https://github.com/coredns/coredns.git
synced 2025-11-19 02:12:30 -05:00
Remove some duplicate worlds (#2582)
Signed-off-by: Nguyen Phuong An <AnNP@vn.fujitsu.com>
This commit is contained in:
@@ -87,7 +87,7 @@ func (a Auto) Walk() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// matches matches re to filename, if is is a match, the subexpression will be used to expand
|
||||
// matches re to filename, if it is a match, the subexpression will be used to expand
|
||||
// template to an origin. When match is true that origin is returned. Origin is fully qualified.
|
||||
func matches(re *regexp.Regexp, filename, template string) (match bool, origin string) {
|
||||
base := filepath.Base(filename)
|
||||
|
||||
Reference in New Issue
Block a user