From 4a1f2c097e92b72f5872c83d6b4b34a85cc2128f Mon Sep 17 00:00:00 2001 From: Jeremy Albinet Date: Mon, 1 Feb 2021 15:41:03 +0100 Subject: [PATCH] Typo on plural in checkRules/checkDuplicates Signed-off-by: Jeremy Albinet --- cmd/promtool/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/promtool/main.go b/cmd/promtool/main.go index 631b8d40a..8a881330c 100644 --- a/cmd/promtool/main.go +++ b/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 {