diff --git a/cmd/query/app/querysvc/adjuster/spaniduniquifier.go b/cmd/query/app/querysvc/adjuster/spaniduniquifier.go index ea15113de33..1fa05ca5f95 100644 --- a/cmd/query/app/querysvc/adjuster/spaniduniquifier.go +++ b/cmd/query/app/querysvc/adjuster/spaniduniquifier.go @@ -13,9 +13,7 @@ import ( "github.com/jaegertracing/jaeger/internal/jptrace" ) -var ( - errTooManySpans = errors.New("cannot assign unique span ID, too many spans in the trace") -) +var errTooManySpans = errors.New("cannot assign unique span ID, too many spans in the trace") // SpanIDUniquifier returns an adjuster that changes span ids for server // spans (i.e. spans with tag: span.kind == server) if there is another