diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-05-19 16:44:59 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-05-19 16:44:59 +0200 |
commit | 25077df01588b54ec097ce3f99db6672c5a59463 (patch) | |
tree | 49f7b64f4164d19260ba848c5faca366b75438d1 /storage/memory/storage.go | |
parent | 08f9e7015aad2ca768638b446fb8632f11601899 (diff) | |
download | go-git-25077df01588b54ec097ce3f99db6672c5a59463.tar.gz |
documentation
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 |