Typo on plural in checkRules/checkDuplicates

Signed-off-by: Jeremy Albinet <jalbinet@synthesio.com>
pull/8430/head
Jeremy Albinet 5 years ago
parent 9f281cdee5
commit 4a1f2c097e
  1. 2
      cmd/promtool/main.go

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

Loading…
Cancel
Save