Fix .Log() error message (#5257)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
e4a741cb7d
commit
362873f72b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue