aboutsummaryrefslogtreecommitdiff
path: root/cmd/show-object/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/show-object/main.go')
-rw-r--r--cmd/show-object/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/show-object/main.go b/cmd/show-object/main.go
index b4b55a1b..ee952876 100644
--- a/cmd/show-object/main.go
+++ b/cmd/show-object/main.go
@@ -55,7 +55,7 @@ func run(repoPath, name *string) error {
return fmt.Errorf("resolve %q: %w", *name, err)
}
- s, err := repo.Resolver().ExactObject(id)
+ s, err := repo.Fetcher().ExactObject(id)
if err != nil {
_ = repo.Close()