Merge pull request #419 from mdlayher/zfs-fail-debug

Make ZFS collector fail gracefully when not available
This commit is contained in:
Ben Kochie 2017-01-12 13:07:23 -05:00 committed by GitHub
commit 9698b97ed1
1 changed files with 0 additions and 4 deletions

View File

@ -63,10 +63,6 @@ func NewZFSCollector() (Collector, error) {
func (c *zfsCollector) Update(ch chan<- prometheus.Metric) (err error) {
// Arcstats
err = c.updateArcstats(ch)
if err != nil {
return err
}
switch {
case err == zfsNotAvailableError:
log.Debug(err)