Skip to content

Commit

Permalink
Fix inconsistent variable name, to address compilation issue (prometh…
Browse files Browse the repository at this point in the history
…eus#2820)

prometheus#2819

Signed-off-by: Conall O'Brien <conall@conall.net>
  • Loading branch information
conallob authored and oblitorum committed Apr 9, 2024
1 parent de78533 commit 64c67f3
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 64c67f3

Please sign in to comment.