mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-02-21 03:25:57 -08:00
Fixes broken build on Dragonfly.
Undefined err:
84eaa8fecd/collector/devstat_dragonfly.go (L145)
This commit is contained in:
parent
636c88adf7
commit
83cecfa696
|
@ -142,5 +142,5 @@ func (c *devstatCollector) Update(ch chan<- prometheus.Metric) error {
|
||||||
ch <- prometheus.MustNewConstMetric(c.blocksDesc, prometheus.CounterValue, float64(stats.blocks), device)
|
ch <- prometheus.MustNewConstMetric(c.blocksDesc, prometheus.CounterValue, float64(stats.blocks), device)
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue