Remove more unnecessarily named return values

This commit is contained in:
Tobias Schmidt 2017-02-28 17:33:46 -04:00
commit 84eaa8fecd
4 changed files with 6 additions and 8 deletions

View file

@ -47,7 +47,7 @@ func (c *zfsCollector) updateZfsStats(subsystem string, ch chan<- prometheus.Met
})
}
func (c *zfsCollector) updatePoolStats(ch chan<- prometheus.Metric) (err error) {
func (c *zfsCollector) updatePoolStats(ch chan<- prometheus.Metric) error {
zpoolPaths, err := filepath.Glob(procFilePath(filepath.Join(c.linuxProcpathBase, c.linuxZpoolIoPath)))
if err != nil {
return err