mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 22:21:30 +01:00
logical/*: fix compilation errors
This commit is contained in:
parent
983db25262
commit
7fa65ef5b0
@ -14,10 +14,12 @@ func Factory(map[string]string) (logical.Backend, error) {
|
||||
func Backend() *framework.Backend {
|
||||
var b backend
|
||||
b.Backend = &framework.Backend{
|
||||
PathsRoot: []string{
|
||||
PathsSpecial: &logical.Paths{
|
||||
Root: []string{
|
||||
"root",
|
||||
"policy/*",
|
||||
},
|
||||
},
|
||||
|
||||
Paths: []*framework.Path{
|
||||
pathRoot(),
|
||||
|
||||
@ -12,10 +12,12 @@ func Factory(map[string]string) (logical.Backend, error) {
|
||||
func Backend() *framework.Backend {
|
||||
var b backend
|
||||
b.Backend = &framework.Backend{
|
||||
PathsRoot: []string{
|
||||
PathsSpecial: &logical.Paths{
|
||||
Root: []string{
|
||||
"config",
|
||||
"policy/*",
|
||||
},
|
||||
},
|
||||
|
||||
Paths: []*framework.Path{
|
||||
pathConfig(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user