From 04f5b4fc21706812dcdca6a203a10f918172c33a Mon Sep 17 00:00:00 2001 From: b0000000000000t Date: Mon, 5 Nov 2018 14:03:31 +0600 Subject: [PATCH 1/2] vault backend fix --- backend/vault/vault.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/vault/vault.go b/backend/vault/vault.go index 9103c61..1478167 100644 --- a/backend/vault/vault.go +++ b/backend/vault/vault.go @@ -45,3 +45,6 @@ func (b *Backend) Get(ctx context.Context, key string) ([]byte, error) { return nil, backend.ErrNotFound } +func (b *Backend) Name() string { + return "vault" +} From 34680c3fed92e1c0718f737bc91b768c5488f3a9 Mon Sep 17 00:00:00 2001 From: Yasss Date: Wed, 7 Nov 2018 23:41:39 +0600 Subject: [PATCH 2/2] Update backend/vault/vault.go Co-Authored-By: eliastor --- backend/vault/vault.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/vault/vault.go b/backend/vault/vault.go index 1478167..e631273 100644 --- a/backend/vault/vault.go +++ b/backend/vault/vault.go @@ -45,6 +45,8 @@ func (b *Backend) Get(ctx context.Context, key string) ([]byte, error) { return nil, backend.ErrNotFound } + +// Name returns the name of the backend. func (b *Backend) Name() string { return "vault" }