Skip to content

Commit

Permalink
fix wal
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Elliott <[email protected]>
  • Loading branch information
joe-elliott committed May 7, 2024
1 parent fe11bf7 commit 4975ea0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tempodb/encoding/vparquet4/wal_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -723,12 +723,10 @@ func (b *walBlock) FetchTagValues(ctx context.Context, req traceql.AutocompleteR
}

for _, oe := range res.OtherEntries {
if oe.Key == req.TagName.String() {
v := oe.Value.(traceql.Static)
if cb(v) {
iter.Close()
return nil // We have enough values
}
v := oe.Value.(traceql.Static)
if cb(v) {
iter.Close()
return nil // We have enough values
}
}
}
Expand Down

0 comments on commit 4975ea0

Please sign in to comment.