Migrate physical backends into separate packages (#3106)

This commit is contained in:
Jeff Mitchell
2017-08-03 13:24:27 -04:00
committed by GitHub
parent 36998a55e6
commit 0ac531d3f4
59 changed files with 875 additions and 671 deletions

View File

@@ -15,7 +15,10 @@ import (
"time"
"github.com/hashicorp/vault/meta"
"github.com/hashicorp/vault/physical"
"github.com/mitchellh/cli"
physFile "github.com/hashicorp/vault/physical/file"
)
var (
@@ -100,6 +103,9 @@ func TestServer_ReloadListener(t *testing.T) {
},
ShutdownCh: MakeShutdownCh(),
SighupCh: MakeSighupCh(),
PhysicalBackends: map[string]physical.Factory{
"file": physFile.NewFileBackend,
},
}
finished := false