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 {
var b backend
b.Backend = &framework.Backend{
PathsRoot: []string{
"root",
"policy/*",
PathsSpecial: &logical.Paths{
Root: []string{
"root",
"policy/*",
},
},
Paths: []*framework.Path{

View File

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