diff options
Diffstat (limited to 'storage/memory/storage.go')
-rw-r--r-- | storage/memory/storage.go | 2 |
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 |