mirror of https://github.com/prometheus/prometheus
fix megacheck issue: should omit values from range
parent
c0e888e82b
commit
c2182820ed
2
block.go
2
block.go
|
@ -474,7 +474,7 @@ func (pb *Block) CleanTombstones(dest string, c Compactor) (bool, error) {
|
||||||
numStones := 0
|
numStones := 0
|
||||||
|
|
||||||
pb.tombstones.Iter(func(id uint64, ivs Intervals) error {
|
pb.tombstones.Iter(func(id uint64, ivs Intervals) error {
|
||||||
for _ = range ivs {
|
for range ivs {
|
||||||
numStones++
|
numStones++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue