This commit is contained in:
Sebastien Blot 2024-04-15 23:57:02 +02:00
parent 170e5e8dd8
commit 927f2e4c48
No known key found for this signature in database
GPG key ID: DFC2902F40449F6A

View file

@ -26,7 +26,7 @@ func IpToRange(field string, p *types.Event, plog *log.Entry) (map[string]string
if r == nil {
plog.Warnf("No range found for ip '%s'", field)
return nil, nil //nolint:nilerr
return nil, nil
}
record := r.(*net.IPNet)