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
@@ -66,7 +66,7 @@ func (c *OnDiskCacheLayer) getChunk(needleId types.NeedleId) (data []byte) {
for _, diskCache := range c.diskCaches {
data, err = diskCache.GetNeedle(needleId)
if err == storage.ErrNotFound {
if err == storage.ErrorNotFound {
continue
}
if err != nil {