From 22e5dd2f0d088208d7980b43e17a984104c0e6a6 Mon Sep 17 00:00:00 2001 From: jalev Date: Fri, 16 Dec 2022 18:08:27 +0000 Subject: [PATCH] Fix lint issues Signed-off-by: jalev --- collector/arp_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/arp_linux.go b/collector/arp_linux.go index ded0cc2c..b2cd62c7 100644 --- a/collector/arp_linux.go +++ b/collector/arp_linux.go @@ -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