lint
This commit is contained in:
parent
170e5e8dd8
commit
927f2e4c48
|
@ -26,7 +26,7 @@ func IpToRange(field string, p *types.Event, plog *log.Entry) (map[string]string
|
||||||
|
|
||||||
if r == nil {
|
if r == nil {
|
||||||
plog.Warnf("No range found for ip '%s'", field)
|
plog.Warnf("No range found for ip '%s'", field)
|
||||||
return nil, nil //nolint:nilerr
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
record := r.(*net.IPNet)
|
record := r.(*net.IPNet)
|
||||||
|
|
Loading…
Reference in a new issue