diff --git a/stats/timer.go b/stats/timer.go index 2d4ae04..8694d94 100644 --- a/stats/timer.go +++ b/stats/timer.go @@ -100,7 +100,7 @@ func (tr *TimerRegistry) Get(timerType TimerType) *Timer { if _, ok := tr.timers[timerType]; !ok { tr.timers[timerType] = NewTimer() } - value, _ := tr.timers[timerType] + value := tr.timers[timerType] return value }