Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not return boltdb bucket not found error
While doing a boltdb operation and if the bucket is not found we should not return a boltdb specific bucket not found error because this causes leaky abstraction where in the user of libkv needs to know about boltdb and import boltdb dependencies neither of which is desirable. Replaced all the bucket not found errors with the more generic `store.ErrKeyNotFound` error which is more appropriate. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
- Loading branch information
Showing
1 changed file
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters