Skip to content
Permalink
Browse files

Merge pull request #6 from matthewmcneely/master

Fix missed mutex release
  • Loading branch information...
Depado committed Mar 28, 2019
2 parents ee66175 + 9b51b3c commit 8d43ab64dad988d23994113f54dc6ffc5081d8a5
Showing with 2 additions and 0 deletions.
  1. +2 −0 prom.go
@@ -184,6 +184,8 @@ func (p *Prometheus) Instrument() gin.HandlerFunc {
if p.PathMap.values == nil {
p.PathMap.RUnlock()
p.update()
} else {
p.PathMap.RUnlock()
}
var path string
var found bool

0 comments on commit 8d43ab6

Please sign in to comment.
You can’t perform that action at this time.