diff --git a/registry/storage/cache/redis/redis.go b/registry/storage/cache/redis/redis.go index 9efbbf22..80286d71 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) }