]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - cmd/safcm/sync.go
Improve and add comments
[safcm/safcm.git] / cmd / safcm / sync.go
index 98b118ed821d2224bf4f7e77e0ed002b368d9df3..77e83c4187592ca1bd5cc31e44da3f4acfb4830d 100644 (file)
@@ -247,8 +247,8 @@ are only available after the hosts were contacted.
                nameMap[x] = true
        }
        nameMatched := make(map[string]bool)
-       // To detect typos we must check all given names but only want to add
-       // each match once
+       // To detect typos we must check all given names but one host can be
+       // matched by multiple names (e.g. two groups with overlapping hosts)
        hostMatched := make(map[string]bool)
 
        var res []*config.Host