Fix inconsistent variable name, to address compilation issue (#2820)
https://github.com/prometheus/node_exporter/issues/2819 Signed-off-by: Conall O'Brien <conall@conall.net>
This commit is contained in:
parent
8ff3c43922
commit
60c86ab218
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue