Merge pull request #4028 from liubin/delete-duplicated-code

This commit is contained in:
Milos Gajdos 2023-08-30 07:45:51 +01:00 committed by GitHub
commit b9b19409cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,10 +135,6 @@ func (rbds *redisBlobDescriptorService) SetDescriptor(ctx context.Context, dgst
return err return err
} }
if err := cache.ValidateDescriptor(desc); err != nil {
return err
}
return rbds.setDescriptor(ctx, rbds.pool, dgst, desc) return rbds.setDescriptor(ctx, rbds.pool, dgst, desc)
} }