From f7d0d3a229cd1c5d96f54dd07aa249c6456e18ee Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sat, 9 Sep 2023 06:20:42 +0200 Subject: [PATCH] app/vmstorage: fix after 0c7d46d637cd67c0e39d53eb7194392c9d7eff9c: retentionPeriod.Msecs -> retentionPeriod.Milliseconds() --- app/vmstorage/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmstorage/main.go b/app/vmstorage/main.go index 2b637ad24..f14703738 100644 --- a/app/vmstorage/main.go +++ b/app/vmstorage/main.go @@ -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.