set util.ErrNotFound = ds.ErrNotFound
Juan Batiz-Benet committed
Sep 26, 2014 at 23:37 UTC
ee3be129fc4e70dd39d638e15bc8706c2a4fcf37
1 file changed
+2
-1
util/util.go
+2
-1
@@ -8,6 +8,7 @@ import (
8
"path/filepath"
9
"strings"
10
11
+ ds "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/datastore.go"
12
b58 "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-base58"
13
mh "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multihash"
14
)
@@ -26,7 +27,7 @@ var ErrTimeout = errors.New("Error: Call timed out.")
27
var ErrSearchIncomplete = errors.New("Error: Search Incomplete.")
28
29
// ErrNotFound is returned when a search fails to find anything
29
-var ErrNotFound = errors.New("Error: Not Found.")
30
+var ErrNotFound = ds.ErrNotFound
31
32
// Key is a string representation of multihash for use with maps.
33
type Key string