mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 11:31:54 +08:00
Bubble ErrNotFound improvements
This commit is contained in:
@ -297,7 +297,7 @@ func walkBlock(ctx context.Context, dagserv ipld.DAGService, nd ipld.Node) (bool
|
||||
for _, link := range nd.Links() {
|
||||
child, err := dagserv.Get(ctx, link.Cid)
|
||||
|
||||
if err == ipld.ErrNotFound {
|
||||
if ipld.IsNotFound(err) {
|
||||
local = false
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user