Updating for backend API change

This commit is contained in:
Armon Dadgar
2015-06-30 17:36:12 -07:00
parent 8a7918f9c0
commit 22f543f837
13 changed files with 18 additions and 15 deletions

View File

@@ -110,7 +110,7 @@ func Test(t TestT, c TestCase) {
core, err := vault.NewCore(&vault.CoreConfig{
Physical: physical.NewInmem(),
LogicalBackends: map[string]logical.Factory{
"test": func(map[string]string) (logical.Backend, error) {
"test": func(*logical.BackendConfig) (logical.Backend, error) {
return c.Backend, nil
},
},