Remove more unnecessarily named return values
This commit is contained in:
parent
5c28ab044d
commit
84eaa8fecd
4 changed files with 6 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue