cleanup: correct func name in log message (#5852)

Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
ethan 2019-08-10 23:24:58 +08:00 committed by Brian Brazil
parent 3638e4ab18
commit 38ccf0157e
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ func (t *QueueManager) calculateDesiredShards() {
timePerSample = samplesOutDuration / samplesOut
desiredShards = (timePerSample * samplesPending) / float64(time.Second)
)
level.Debug(t.logger).Log("msg", "QueueManager.caclulateDesiredShards",
level.Debug(t.logger).Log("msg", "QueueManager.calculateDesiredShards",
"samplesIn", samplesIn,
"samplesOut", samplesOut,
"samplesKeptRatio", samplesKeptRatio,