Skip to content

Commit

Permalink
Ignore gosec Linter Error
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Dec 22, 2024
1 parent aea9ef9 commit 6d37f88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/query/app/querysvc/adjuster/clockskew.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func hostKey(resource ptrace.ResourceSpans) string {
case pcommon.ValueTypeInt:
var buf [4]byte
ip := buf[:4]
//nolint: gosec // G115
binary.BigEndian.PutUint32(ip, uint32(attr.Int()))
return net.IP(ip).String()
case pcommon.ValueTypeBytes:
Expand Down

0 comments on commit 6d37f88

Please sign in to comment.