revert ErrXyz to ErrorXyz temporarily.

This commit is contained in:
bingoohuang committed 2021-02-20 16:57:07 +08:00
1 parent 50df484d86
commit a6d421508a
6 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ func (v *ChunkCacheVolume) GetNeedle(key types.NeedleId) ([]byte, error) {
nv, ok := v.nm.Get(key)
if !ok {
return nil, storage.ErrNotFound
return nil, storage.ErrorNotFound
}
data := make([]byte, nv.Size)
if readSize, readErr := v.DataBackend.ReadAt(data, nv.Offset.ToActualOffset()); readErr != nil {