diff --git a/cmd/query/app/querysvc/adjuster/hash.go b/cmd/query/app/querysvc/adjuster/hash.go index 04d0234253c..a00dfebb864 100644 --- a/cmd/query/app/querysvc/adjuster/hash.go +++ b/cmd/query/app/querysvc/adjuster/hash.go @@ -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++ { @@ -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)