app/vmstorage: fix after 0c7d46d637: retentionPeriod.Msecs -> retentionPeriod.Milliseconds()

This commit is contained in:
Aliaksandr Valialkin 2023-09-09 06:20:42 +02:00
parent af85055f3a
commit f7d0d3a229
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -124,7 +124,7 @@ func Init(resetCacheIfNeeded func(mrs []storage.MetricRow)) {
*DataPath, time.Since(startTime).Seconds(), partsCount, blocksCount, rowsCount, sizeBytes)
registerStorageMetrics(Storage)
promdb.Init(retentionPeriod.Msecs)
promdb.Init(retentionPeriod.Milliseconds())
}
// Storage is a storage.