Skip to content

Commit

Permalink
Fix inconsistent variable name, to address compilation issue
Browse files Browse the repository at this point in the history
#2819

Signed-off-by: Conall O'Brien <conall@conall.net>
  • Loading branch information
conallob authored Oct 4, 2023
1 parent 8ff3c43 commit 50884d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/zfs_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 50884d2

Please sign in to comment.