From 362873f72b958134ecae6fdc2f8edfb70d33987c Mon Sep 17 00:00:00 2001 From: JoeWrightss <42261994+JoeWrightss@users.noreply.github.com> Date: Fri, 22 Feb 2019 22:39:37 +0800 Subject: [PATCH] Fix .Log() error message (#5257) Signed-off-by: zhoulin xie --- storage/remote/queue_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index e91c6e86d..e4a289473 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -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)