Browse Source

Fixes broken build on Dragonfly.

Undefined err:

84eaa8fecd/collector/devstat_dragonfly.go (L145)
pull/561/head
Derek Marcotte 8 years ago
parent
commit
83cecfa696
  1. 2
      collector/devstat_dragonfly.go

2
collector/devstat_dragonfly.go

@ -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…
Cancel
Save