diff --git a/cmd/query/app/querysvc/adjuster/sort_test.go b/cmd/query/app/querysvc/adjuster/sort_test.go index bbf7359d196..c4124912a12 100644 --- a/cmd/query/app/querysvc/adjuster/sort_test.go +++ b/cmd/query/app/querysvc/adjuster/sort_test.go @@ -11,7 +11,7 @@ import ( ) func TestSortAttributesAndEventsAdjuster(t *testing.T) { - adjuster := SortAttributesAndEventsAdjuster{} + adjuster := SortAttributesAndEvents() input := func() ptrace.Traces { traces := ptrace.NewTraces() rs := traces.ResourceSpans().AppendEmpty()