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

View File

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