Typo on plural in checkRules/checkDuplicates

Signed-off-by: Jeremy Albinet <jalbinet@synthesio.com>
This commit is contained in:
Jeremy Albinet 2021-02-01 15:41:03 +01:00
parent 9f281cdee5
commit 4a1f2c097e

View file

@ -387,7 +387,7 @@ func checkRules(filename string) (int, []error) {
dRules := checkDuplicates(rgs.Groups)
if len(dRules) != 0 {
fmt.Printf("%d duplicate rules(s) found.\n", len(dRules))
fmt.Printf("%d duplicate rule(s) found.\n", len(dRules))
for _, n := range dRules {
fmt.Printf("Metric: %s\nLabel(s):\n", n.metric)
for i, l := range n.label {