Skip to content

Commit

Permalink
fix condition for using fetch tag values
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <[email protected]>
  • Loading branch information
rubenvp8510 committed Nov 24, 2023
1 parent 7036ce2 commit db82ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tempodb/tempodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ func (rw *readerWriter) SearchForValuesTagsV2(ctx context.Context, meta *backend

query := traceql.ExtractMatchers(req.Query)

if traceql.IsEmptyQuery(query) {
if !traceql.IsEmptyQuery(query) {
fetcher := traceql.NewAutocompleteFetcherWrapper(func(ctx context.Context, req traceql.AutocompleteRequest, cb traceql.AutocompleteCallback) error {
return block.FetchTagValues(ctx, req, cb, common.DefaultSearchOptions())
})
Expand Down

0 comments on commit db82ca3

Please sign in to comment.