mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-27 14:39:53 -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)
|
||||
|
||||
for _, device := range deviceEntries {
|
||||
entries[device.Device] += 1
|
||||
entries[device.Device]++
|
||||
}
|
||||
|
||||
return entries
|
||||
|
|
Loading…
Reference in a new issue