Skip to content

Commit

Permalink
Update router.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai authored Nov 6, 2017
1 parent c03b662 commit e2c0f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ func (r *Router) MatchingMountByAccessor(mountAccessor string) *MountEntry {
// MatchingMount returns the mount prefix that would be used for a path
func (r *Router) MatchingMount(path string) string {
r.l.RLock()
defer r.l.RUnlock()
var mount = r.matchingMountInternal(path)
r.l.RUnlock()
return mount
}

Expand Down

0 comments on commit e2c0f63

Please sign in to comment.