revert ErrXyz to ErrorXyz temporarily.

This commit is contained in:
bingoohuang
2021-02-20 16:57:07 +08:00
parent 50df484d86
commit ee7cdf3668
7 changed files with 16 additions and 16 deletions

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 {