replaced use of Vault with Repository

This commit is contained in:
Jarek Kowalski
2017-07-18 13:39:26 +02:00
parent 50c2cd86a3
commit 4dcdb69dcc
21 changed files with 54 additions and 99 deletions

View File

@@ -19,7 +19,7 @@ func init() {
func removePolicy(context *kingpin.ParseContext) error {
conn := mustOpenConnection()
mgr := snapshot.NewManager(conn.Vault)
mgr := snapshot.NewManager(conn)
targets, err := policyTargets(policyRemoveGlobal, policyRemoveTargets)
if err != nil {