edac: Fix typo in csrow label of node_edac_csrow_uncorrectable_errors_total metric.

This commit is contained in:
Karsten Weiss 2017-04-18 12:45:06 +02:00
commit d9703ff7c6
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ func (c *edacCollector) Update(ch chan<- prometheus.Metric) error {
return fmt.Errorf("couldn't get ue_noinfo_count for controller %s: %s", controllerNumber, err)
}
ch <- prometheus.MustNewConstMetric(
c.csRowUECount, prometheus.CounterValue, float64(value), controllerNumber, "uknown")
c.csRowUECount, prometheus.CounterValue, float64(value), controllerNumber, "unknown")
// For each controller, walk the csrow directories.
csrows, err := filepath.Glob(controller + "/csrow[0-9]*")