storage: Fix use of counter (Set -> Add)

This commit is contained in:
beorn7 2017-04-11 12:56:34 +02:00
parent 1ae50b1d1b
commit c53f256a09
1 changed files with 1 additions and 1 deletions

View File

@ -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
}