Fix .Log() error message (#5257)

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
JoeWrightss 2019-02-22 22:39:37 +08:00 committed by Brian Brazil
parent e4a741cb7d
commit 362873f72b
1 changed files with 1 additions and 1 deletions

View File

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