diff --git a/pkg/storage/cache/redis.go b/pkg/storage/cache/redis.go index 0d3d9559..87d051cb 100644 --- a/pkg/storage/cache/redis.go +++ b/pkg/storage/cache/redis.go @@ -252,9 +252,9 @@ func (d *RedisDriver) HasBlob(digest godigest.Digest, path string) bool { if !goerrors.Is(err, redis.Nil) { d.log.Error().Err(err).Str("hget", d.join(constants.BlobsCache, constants.OriginalBucket)). Str("digest", digest.String()).Msg("unable to get record") - } - return false + return false + } } if currentPath == path {