mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 12:20:03 +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 nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return fmt.Errorf("merkledag: %s not found", name)
|
return ErrNotFound
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy returns a copy of the node.
|
// Copy returns a copy of the node.
|
||||||
|
Reference in New Issue
Block a user