mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Typo on plural in checkRules/checkDuplicates
Signed-off-by: Jeremy Albinet <jalbinet@synthesio.com>
This commit is contained in:
parent
9f281cdee5
commit
4a1f2c097e
|
@ -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…
Reference in a new issue