diff --git a/lib/storage/partition.go b/lib/storage/partition.go index 0196b916b9..3d7f43fac8 100644 --- a/lib/storage/partition.go +++ b/lib/storage/partition.go @@ -1363,7 +1363,7 @@ func (pt *partition) removeStaleParts() { pt.snapshotLock.RLock() var removeWG sync.WaitGroup for pw := range m { - logger.Infof("removing part %q, since its data is out of the configured retention (%d secs)", pw.p.path, retentionDeadline/1000) + logger.Infof("removing part %q, since its data is out of the configured retention (%d secs)", pw.p.path, pt.retentionMsecs/1000) removeWG.Add(1) fs.MustRemoveAllWithDoneCallback(pw.p.path, removeWG.Done) }