Remove some duplicate worlds (#2582)

Signed-off-by: Nguyen Phuong An <AnNP@vn.fujitsu.com>
This commit is contained in:
Nguyen Phuong An
2019-02-20 19:12:21 +07:00
committed by Paul G
parent 3c23aac2d3
commit e78d9a7893
9 changed files with 9 additions and 9 deletions

View File

@@ -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)

View File

@@ -56,7 +56,7 @@ func (z *Zones) Add(zo *file.Zone, name string) {
z.Unlock()
}
// Remove removes the zone named name from z. It also stop the the zone's reload goroutine.
// Remove removes the zone named name from z. It also stop the zone's reload goroutine.
func (z *Zones) Remove(name string) {
z.Lock()