mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Merge pull request #8430 from Boulet-/typo
Typo on plural in checkRules/checkDuplicates
This commit is contained in:
commit
b353afcc1b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue