credential/*: adhere to new API

This commit is contained in:
Mitchell Hashimoto
2015-04-17 09:40:28 -07:00
parent d76814e0f3
commit fe747fbcaa
3 changed files with 14 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ func Factory(map[string]string) (logical.Backend, error) {
func Backend() *framework.Backend {
var b backend
b.Map = &framework.PolicyMap{
PathMap: &framework.PathMap{"teams"},
PathMap: framework.PathMap{Name: "teams"},
DefaultKey: "default",
}
b.Backend = &framework.Backend{