aboutsummaryrefslogtreecommitdiff
path: root/reachability/walk_expand_commits_graph.go
diff options
context:
space:
mode:
Diffstat (limited to 'reachability/walk_expand_commits_graph.go')
-rw-r--r--reachability/walk_expand_commits_graph.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reachability/walk_expand_commits_graph.go b/reachability/walk_expand_commits_graph.go
index bbdc0ade..90e52112 100644
--- a/reachability/walk_expand_commits_graph.go
+++ b/reachability/walk_expand_commits_graph.go
@@ -11,7 +11,7 @@ import (
func (walk *Walk) expandCommitsFromGraph(id objectid.ObjectID) ([]walkItem, bool, error) {
pos, err := walk.reachability.graph.Lookup(id)
if err != nil {
- var notFound *commitgraphread.ErrNotFound
+ var notFound *commitgraphread.NotFoundError
if errors.As(err, &notFound) {
return nil, false, nil
}