Skip to content

Commit 60c86ab

Browse files
authored
Fix inconsistent variable name, to address compilation issue (prometheus#2820)
prometheus#2819 Signed-off-by: Conall O'Brien <[email protected]>
1 parent 8ff3c43 commit 60c86ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/zfs_freebsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func (c *zfsCollector) parseFreeBSDPoolObjsetStats() error {
327327
"nunlinked", "nunlinks", "nread", "reads", "nwritten", "writes",
328328
}
329329
zfsPoolMibPrefix := "kstat.zfs.pool.dataset"
330-
zfsDatasetsNames := []string{}
330+
zfsDatasetNames := []string{}
331331

332332
zfsDatasets, err := unix.Sysctl(zfsPoolMibPrefix)
333333
if err != nil {

0 commit comments

Comments
 (0)