mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 15:16:42 +00:00
app/vmstorage: fix after 0c7d46d637
: retentionPeriod.Msecs -> retentionPeriod.Milliseconds()
This commit is contained in:
parent
af85055f3a
commit
f7d0d3a229
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ func Init(resetCacheIfNeeded func(mrs []storage.MetricRow)) {
|
||||||
*DataPath, time.Since(startTime).Seconds(), partsCount, blocksCount, rowsCount, sizeBytes)
|
*DataPath, time.Since(startTime).Seconds(), partsCount, blocksCount, rowsCount, sizeBytes)
|
||||||
registerStorageMetrics(Storage)
|
registerStorageMetrics(Storage)
|
||||||
|
|
||||||
promdb.Init(retentionPeriod.Msecs)
|
promdb.Init(retentionPeriod.Milliseconds())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Storage is a storage.
|
// Storage is a storage.
|
||||||
|
|
Loading…
Reference in a new issue