Fixes broken build on Dragonfly.

Undefined err:

84eaa8fecd/collector/devstat_dragonfly.go (L145)
This commit is contained in:
Derek Marcotte 2017-04-17 10:50:49 -04:00
parent 636c88adf7
commit 83cecfa696
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }