diff --git a/storage/remote/storage.go b/storage/remote/storage.go index 444c04954..5463735d5 100644 --- a/storage/remote/storage.go +++ b/storage/remote/storage.go @@ -52,8 +52,8 @@ func NewStorage(l log.Logger, reg prometheus.Registerer, stCallback startTimeCal s := &Storage{ logger: logging.Dedupe(l, 1*time.Minute), localStartTimeCallback: stCallback, - rws: NewWriteStorage(l, walDir, flushDeadline), } + s.rws = NewWriteStorage(s.logger, walDir, flushDeadline) return s }