diff --git a/collector/zfs_freebsd.go b/collector/zfs_freebsd.go index 38379039..0e4d9692 100644 --- a/collector/zfs_freebsd.go +++ b/collector/zfs_freebsd.go @@ -327,7 +327,7 @@ func (c *zfsCollector) parseFreeBSDPoolObjsetStats() error { "nunlinked", "nunlinks", "nread", "reads", "nwritten", "writes", } zfsPoolMibPrefix := "kstat.zfs.pool.dataset" - zfsDatasetsNames := []string{} + zfsDatasetNames := []string{} zfsDatasets, err := unix.Sysctl(zfsPoolMibPrefix) if err != nil {