mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
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 a new issue