Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter parameter to rebound so lines can be deleted by the compactor #5879

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add extra (unused) param for ProcessString in filter
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
  • Loading branch information
MichelHollands committed Apr 22, 2022
commit 94ab3847e83b4cb1b88830dc1ac236331a0630fc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (d *DeleteRequest) FilterFunction(labels labels.Labels) (filter.Func, error

f := p.ForStream(labels).ProcessString
return func(s string) bool {
result, _, skip := f(s)
result, _, skip := f(0, s)
return len(result) != 0 || skip
}, nil
}
Expand Down