Skip to content

Commit

Permalink
Fix Receivers
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Dec 23, 2024
1 parent 18edfbf commit 4fe7546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/query/app/querysvc/adjuster/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type SpanHashDeduper struct {
marshaler ptrace.Marshaler
}

func (s SpanHashDeduper) Adjust(traces ptrace.Traces) {
func (s *SpanHashDeduper) Adjust(traces ptrace.Traces) {
spansByHash := make(map[uint64]ptrace.Span)
resourceSpans := traces.ResourceSpans()
for i := 0; i < resourceSpans.Len(); i++ {
Expand Down Expand Up @@ -70,7 +70,7 @@ func (s SpanHashDeduper) Adjust(traces ptrace.Traces) {
}
}

func (s SpanHashDeduper) computeHashCode(
func (s *SpanHashDeduper) computeHashCode(
hashTrace ptrace.Traces,
) (uint64, error) {
b, err := s.marshaler.MarshalTraces(hashTrace)
Expand Down

0 comments on commit 4fe7546

Please sign in to comment.