Skip to content

Commit

Permalink
Remove nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
zivnevo authored Sep 10, 2024
1 parent c29ef26 commit d926c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ipblock/ipblock.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func intToIP4(ipInt int64) string {
return "0.0.0.0"
}
var d [4]byte
binary.BigEndian.PutUint32(d[:], uint32(ipInt)) //nolint:gosec // seems like a gosec bug - see above check for overflow
binary.BigEndian.PutUint32(d[:], uint32(ipInt))
return net.IPv4(d[0], d[1], d[2], d[3]).String()
}

Expand Down

0 comments on commit d926c8b

Please sign in to comment.