mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 06:59:44 -08:00
Fix lint issues
Signed-off-by: jalev <qweet.ing@gmail.com>
This commit is contained in:
parent
a177412d06
commit
22e5dd2f0d
|
@ -63,7 +63,7 @@ func getTotalArpEntries(deviceEntries []procfs.ARPEntry) map[string]uint32 {
|
||||||
entries := make(map[string]uint32)
|
entries := make(map[string]uint32)
|
||||||
|
|
||||||
for _, device := range deviceEntries {
|
for _, device := range deviceEntries {
|
||||||
entries[device.Device] += 1
|
entries[device.Device]++
|
||||||
}
|
}
|
||||||
|
|
||||||
return entries
|
return entries
|
||||||
|
|
Loading…
Reference in a new issue