storage: Fix use of counter (Set -> Add)
This commit is contained in:
parent
1ae50b1d1b
commit
c53f256a09
|
@ -67,7 +67,7 @@ func newFPMapper(fpToSeries *seriesMap, p *persistence) (*fpMapper, error) {
|
|||
return nil, err
|
||||
}
|
||||
m.mappings = mappings
|
||||
m.mappingsCounter.Set(float64(len(m.mappings)))
|
||||
m.mappingsCounter.Add(float64(len(m.mappings)))
|
||||
m.highestMappedFP = nextFP
|
||||
return m, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue