logical/*: fix compilation errors

This commit is contained in:
Mitchell Hashimoto 2015-03-30 20:30:07 -07:00
parent 983db25262
commit 7fa65ef5b0
2 changed files with 10 additions and 6 deletions

View File

@ -14,9 +14,11 @@ func Factory(map[string]string) (logical.Backend, error) {
func Backend() *framework.Backend { func Backend() *framework.Backend {
var b backend var b backend
b.Backend = &framework.Backend{ b.Backend = &framework.Backend{
PathsRoot: []string{ PathsSpecial: &logical.Paths{
"root", Root: []string{
"policy/*", "root",
"policy/*",
},
}, },
Paths: []*framework.Path{ Paths: []*framework.Path{

View File

@ -12,9 +12,11 @@ func Factory(map[string]string) (logical.Backend, error) {
func Backend() *framework.Backend { func Backend() *framework.Backend {
var b backend var b backend
b.Backend = &framework.Backend{ b.Backend = &framework.Backend{
PathsRoot: []string{ PathsSpecial: &logical.Paths{
"config", Root: []string{
"policy/*", "config",
"policy/*",
},
}, },
Paths: []*framework.Path{ Paths: []*framework.Path{