diff --git a/registry/storage/cache/redis/redis.go b/registry/storage/cache/redis/redis.go index 9efbbf22a..80286d714 100644 --- a/registry/storage/cache/redis/redis.go +++ b/registry/storage/cache/redis/redis.go @@ -135,10 +135,6 @@ func (rbds *redisBlobDescriptorService) SetDescriptor(ctx context.Context, dgst return err } - if err := cache.ValidateDescriptor(desc); err != nil { - return err - } - return rbds.setDescriptor(ctx, rbds.pool, dgst, desc) }