This commit is contained in:
Jeff Mitchell 2018-03-20 10:42:57 -04:00
parent c9e79964c9
commit 933f1e4b87
1 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,6 @@ func (r *Router) Mount(backend logical.Backend, prefix string, mountEntry *Mount
}
// Build the paths
var localView logical.Storage = storageView
paths := new(logical.Paths)
if backend != nil {
specialPaths := backend.SpecialPaths()
@ -111,7 +110,7 @@ func (r *Router) Mount(backend logical.Backend, prefix string, mountEntry *Mount
backend: backend,
mountEntry: mountEntry,
storagePrefix: storageView.prefix,
storageView: localView,
storageView: storageView,
}
re.rootPaths.Store(pathsToRadix(paths.Root))
re.loginPaths.Store(pathsToRadix(paths.Unauthenticated))