Fix bug in LevelDB datastore's Delete() method.
LevelDB Delete() method will not return ErrNotFound, so check that the
key exists first by calling Has() and return ds.ErrNotFound if Has()
returns false.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
Showing
Please register or sign in to comment