Remove redundant check

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen 2024-09-18 21:48:26 +02:00
parent 6ad0c67672
commit 0dd90901cb

View file

@ -403,7 +403,7 @@ func (p *MemPostings) PostingsForLabelMatching(ctx context.Context, name string,
return ErrPostings(ctx.Err())
}
if match == nil || match(vals[i]) {
if match(vals[i]) {
i++
continue
}