aboutsummaryrefslogtreecommitdiffstats
path: root/storage/memory
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-05-19 16:44:59 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-05-19 16:44:59 +0200
commit25077df01588b54ec097ce3f99db6672c5a59463 (patch)
tree49f7b64f4164d19260ba848c5faca366b75438d1 /storage/memory
parent08f9e7015aad2ca768638b446fb8632f11601899 (diff)
downloadgo-git-25077df01588b54ec097ce3f99db6672c5a59463.tar.gz
documentation
Diffstat (limited to 'storage/memory')
-rw-r--r--storage/memory/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go
index fe92256..fbf4bc4 100644
--- a/storage/memory/storage.go
+++ b/storage/memory/storage.go
@@ -58,7 +58,7 @@ func (o *ObjectStorage) Set(obj core.Object) (core.Hash, error) {
func (o *ObjectStorage) Get(h core.Hash) (core.Object, error) {
obj, ok := o.Objects[h]
if !ok {
- return nil, core.ObjectNotFoundErr
+ return nil, core.ErrObjectNotFound
}
return obj, nil