From 6d37f88252c00c6e2adff242fa55276aae20ecd1 Mon Sep 17 00:00:00 2001 From: Mahad Zaryab Date: Sun, 22 Dec 2024 16:14:37 -0500 Subject: [PATCH] Ignore gosec Linter Error Signed-off-by: Mahad Zaryab --- cmd/query/app/querysvc/adjuster/clockskew.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/query/app/querysvc/adjuster/clockskew.go b/cmd/query/app/querysvc/adjuster/clockskew.go index ac3df0b76b8..476cea33029 100644 --- a/cmd/query/app/querysvc/adjuster/clockskew.go +++ b/cmd/query/app/querysvc/adjuster/clockskew.go @@ -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: