increment the pointer
This commit is contained in:
parent
3d9395e1df
commit
691224cdbf
|
@ -105,7 +105,7 @@ func (e *ErrorsTotalMap) incError(err HTTPError) {
|
||||||
e.Unlock()
|
e.Unlock()
|
||||||
}
|
}
|
||||||
// We can then increase the counter
|
// We can then increase the counter
|
||||||
atomic.AddUint64(e.m[err], 1)
|
atomic.AddUint64(ptr, 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load retrieves the map of the counter pointers atomically
|
// Load retrieves the map of the counter pointers atomically
|
||||||
|
|
Loading…
Reference in New Issue