mirror of
https://github.com/kopia/kopia.git
synced 2026-10-24 15:18:48 -04:00
replaced use of Vault with Repository
This commit is contained in:
1 parent
50c2cd86a3
commit
4dcdb69dcc
21 files changed
+54
-99
No files matched your search
+2
-2
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user