Merge pull request #8430 from Boulet-/typo

Typo on plural in checkRules/checkDuplicates
This commit is contained in:
Julien Pivotto 2021-02-01 17:12:56 +01:00 committed by GitHub
commit b353afcc1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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