fix redis cache duplicate lookup

This commit is contained in:
copilot-swe-agent[bot]
2026-06-15 05:46:04 +00:00
committed by GitHub
parent 758137b896
commit b70c3ac7e4
+2 -2
View File
@@ -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 {