Skip to content

Commit

Permalink
addressed issue discovered by goling
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarazzutti committed Aug 14, 2023
1 parent 9669e3b commit 51aa59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats/timer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 51aa59a

Please sign in to comment.