From ee3be129fc4e70dd39d638e15bc8706c2a4fcf37 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Fri, 26 Sep 2014 23:37:36 -0700 Subject: [PATCH] set util.ErrNotFound = ds.ErrNotFound --- util/util.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/util.go b/util/util.go index 548d777ba..41f6afede 100644 --- a/util/util.go +++ b/util/util.go @@ -8,6 +8,7 @@ import ( "path/filepath" "strings" + ds "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/datastore.go" b58 "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-base58" mh "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multihash" ) @@ -26,7 +27,7 @@ var ErrTimeout = errors.New("Error: Call timed out.") var ErrSearchIncomplete = errors.New("Error: Search Incomplete.") // ErrNotFound is returned when a search fails to find anything -var ErrNotFound = errors.New("Error: Not Found.") +var ErrNotFound = ds.ErrNotFound // Key is a string representation of multihash for use with maps. type Key string