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,10 +14,12 @@ 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: []string{
"root", "root",
"policy/*", "policy/*",
}, },
},
Paths: []*framework.Path{ Paths: []*framework.Path{
pathRoot(), pathRoot(),

View File

@ -12,10 +12,12 @@ 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: []string{
"config", "config",
"policy/*", "policy/*",
}, },
},
Paths: []*framework.Path{ Paths: []*framework.Path{
pathConfig(), pathConfig(),