Change var name to match previous
Signed-off-by: James Bach <james.bach@wise.com> Signed-off-by: jalev <qweet.ing@gmail.com>pull/2553/head
parent
5538773089
commit
a177412d06
|
@ -77,12 +77,12 @@ func (c *arpCollector) Update(ch chan<- prometheus.Metric) error {
|
||||||
|
|
||||||
enumeratedEntry := getTotalArpEntries(entries)
|
enumeratedEntry := getTotalArpEntries(entries)
|
||||||
|
|
||||||
for device, entry := range enumeratedEntry {
|
for device, entryCount := range enumeratedEntry {
|
||||||
if c.deviceFilter.ignored(device) {
|
if c.deviceFilter.ignored(device) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
ch <- prometheus.MustNewConstMetric(
|
ch <- prometheus.MustNewConstMetric(
|
||||||
c.entries, prometheus.GaugeValue, float64(entry), device)
|
c.entries, prometheus.GaugeValue, float64(entryCount), device)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue