From 5d9bc7b9b91e72fa66a69c24485726756df761c9 Mon Sep 17 00:00:00 2001 From: Nicholas Hulston Date: Fri, 13 Dec 2024 13:59:49 -0500 Subject: [PATCH] lint --- pkg/serverless/spanpointers/span_pointers.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/serverless/spanpointers/span_pointers.go b/pkg/serverless/spanpointers/span_pointers.go index 1aa315538e3b8..0dfb5b3435bcf 100644 --- a/pkg/serverless/spanpointers/span_pointers.go +++ b/pkg/serverless/spanpointers/span_pointers.go @@ -1,3 +1,4 @@ +// Package spanpointers provides a helper functions for span pointers package spanpointers import ( @@ -24,6 +25,8 @@ func generateSpanPointerHash(components []string) string { return hex.EncodeToString(sum[:])[:32] } +// GetSpanPointersFromS3Event calculates span pointer attributes to uniquely identify +// S3 event records. These attributes will later be used to create the _dd.span_links JSON object. func GetSpanPointersFromS3Event(event events.S3Event) []SpanPointer { var pointers []SpanPointer for _, record := range event.Records {