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

@@ -16,11 +16,11 @@ func runCatCommand(context *kingpin.ParseContext) error {
conn := mustOpenConnection()
defer conn.Close()
oid, err := parseObjectID(*catCommandPath, conn.Vault, conn.Repository)
oid, err := parseObjectID(*catCommandPath, conn)
if err != nil {
return err
}
r, err := conn.Repository.Open(oid)
r, err := conn.Open(oid)
if err != nil {
return err
}