Make sure the remote write storage uses a dedupe logger. (#6113)

Signed-off-by: Callum Styan <callumstyan@gmail.com>
This commit is contained in:
Callum Styan 2019-10-08 10:42:00 -07:00 committed by Chris Marchbanks
parent 706f3b2d17
commit 84ff928606
1 changed files with 1 additions and 1 deletions

View File

@ -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
}