aboutsummaryrefslogtreecommitdiff
path: root/collector/zfs_freebsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'collector/zfs_freebsd.go')
-rw-r--r--collector/zfs_freebsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/zfs_freebsd.go b/collector/zfs_freebsd.go
index 92661e4..2f20096 100644
--- a/collector/zfs_freebsd.go
+++ b/collector/zfs_freebsd.go
@@ -250,7 +250,7 @@ func (c *zfsCollector) Update(ch chan<- prometheus.Metric) error {
250 for _, m := range c.sysctls { 250 for _, m := range c.sysctls {
251 v, err := m.Value() 251 v, err := m.Value()
252 if err != nil { 252 if err != nil {
253 return fmt.Errorf("couldn't get sysctl: %s", err) 253 return fmt.Errorf("couldn't get sysctl: %w", err)
254 } 254 }
255 255
256 ch <- prometheus.MustNewConstMetric( 256 ch <- prometheus.MustNewConstMetric(