mirror of
https://github.com/kopia/kopia.git
synced 2026-05-16 18:54:38 -04:00
replaced use of Vault with Repository
This commit is contained in:
@@ -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