Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
damyan committed Oct 11, 2024
1 parent 9a31ce1 commit 3e0e9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/metal/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func GetInventoryEntryMatchingMACAddress(mac net.HardwareAddr) string {
return inventoryName
}
} else if strategy == OnboardingFromMACPrefixFilter {
for i, _ := range inventoryMap {
for i := range inventoryMap {
if strings.HasPrefix(strings.ToLower(mac.String()), strings.ToLower(i)) {
return inventoryMap[i]
}
Expand Down

0 comments on commit 3e0e9d1

Please sign in to comment.