Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Dec 13, 2024
1 parent bac9a7a commit 5d9bc7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/serverless/spanpointers/span_pointers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package spanpointers provides a helper functions for span pointers
package spanpointers

import (
Expand All @@ -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 {
Expand Down

0 comments on commit 5d9bc7b

Please sign in to comment.