diff options
Diffstat (limited to 'reachability/ancestor.go')
| -rw-r--r-- | reachability/ancestor.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reachability/ancestor.go b/reachability/ancestor.go index 98a2c080..211aed01 100644 --- a/reachability/ancestor.go +++ b/reachability/ancestor.go @@ -57,7 +57,7 @@ func (r *Reachability) isAncestorGraph(ancestor, descendant objectid.ObjectID) ( ancestorPos, err := r.graph.Lookup(ancestor) if err != nil { - var notFound *commitgraphread.ErrNotFound + var notFound *commitgraphread.NotFoundError if errors.As(err, ¬Found) { return false, false, nil } @@ -67,7 +67,7 @@ func (r *Reachability) isAncestorGraph(ancestor, descendant objectid.ObjectID) ( descendantPos, err := r.graph.Lookup(descendant) if err != nil { - var notFound *commitgraphread.ErrNotFound + var notFound *commitgraphread.NotFoundError if errors.As(err, ¬Found) { return false, false, nil } |
