cleanup: correct func name in log message (#5852)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
parent
3638e4ab18
commit
38ccf0157e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue