mirror of
https://github.com/prometheus/prometheus.git
synced 2024-09-19 23:37:31 -07:00
Remove redundant check
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
parent
6ad0c67672
commit
0dd90901cb
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue