mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 09:59:13 +08:00
fix(merkledag) return static error
This commit is contained in:
@ -104,7 +104,7 @@ func (n *Node) RemoveNodeLink(name string) error {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
return fmt.Errorf("merkledag: %s not found", name)
|
||||
return ErrNotFound
|
||||
}
|
||||
|
||||
// Copy returns a copy of the node.
|
||||
|
Reference in New Issue
Block a user