diff --git a/metrics.go b/metrics.go index 3ee5a5d..2e0637a 100644 --- a/metrics.go +++ b/metrics.go @@ -99,7 +99,6 @@ func (e *ErrorsTotalMap) incError(err HTTPError) { // We ensure that the ptr wasn't created in the meantime if ptr, ok = e.m[err]; !ok { ptr = new(uint64) - *ptr = 0 e.m[err] = ptr } e.Unlock()