Skip to content

Commit

Permalink
typo in pathsToRadix doc (#6253)
Browse files Browse the repository at this point in the history
  • Loading branch information
uepoch authored and briankassouf committed Feb 18, 2019
1 parent 2629b6b commit 724f5a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vault/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -784,8 +784,7 @@ func (r *Router) LoginPath(ctx context.Context, path string) bool {
return match == remain
}

// pathsToRadix converts a the mapping of special paths to a mapping
// of special paths to radix trees.
// pathsToRadix converts a list of special paths to a radix tree.
func pathsToRadix(paths []string) *radix.Tree {
tree := radix.New()
for _, path := range paths {
Expand Down

0 comments on commit 724f5a2

Please sign in to comment.