From 7fa65ef5b0b19abcefa900177302e38e724f2ed8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 30 Mar 2015 20:30:07 -0700 Subject: [PATCH] logical/*: fix compilation errors --- builtin/logical/aws/backend.go | 8 +++++--- builtin/logical/consul/backend.go | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) 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{