replaced use of Vault with Repository

This commit is contained in:
Jarek Kowalski committed 2017-08-01 08:29:41 +02:00
1 parent 50c2cd86a3
commit 4dcdb69dcc
21 files changed
+54 -99

No files matched your search

+2 -2
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
}
}