From 84ff928606b74e8e910fbf7d1b4d8b9fd166bc38 Mon Sep 17 00:00:00 2001 From: Callum Styan Date: Tue, 8 Oct 2019 10:42:00 -0700 Subject: [PATCH] Make sure the remote write storage uses a dedupe logger. (#6113) Signed-off-by: Callum Styan --- storage/remote/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }