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

@@ -24,12 +24,12 @@ func runShowCommand(context *kingpin.ParseContext) error {
defer conn.Close()
for _, oidString := range *showObjectIDs {
oid, err := parseObjectID(oidString, conn.Vault, conn.Repository)
oid, err := parseObjectID(oidString, conn)
if err != nil {
return err
}
if err := showObject(conn.Repository, oid); err != nil {
if err := showObject(conn, oid); err != nil {
return err
}
}