diff --git a/builtin/logical/aws/backend.go b/builtin/logical/aws/backend.go index d91b4eaad0..850a8036e8 100644 --- a/builtin/logical/aws/backend.go +++ b/builtin/logical/aws/backend.go @@ -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{ diff --git a/builtin/logical/consul/backend.go b/builtin/logical/consul/backend.go index 2071f4d5c3..257295b120 100644 --- a/builtin/logical/consul/backend.go +++ b/builtin/logical/consul/backend.go @@ -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{