Merge pull request #4028 from liubin/delete-duplicated-code
This commit is contained in:
commit
b9b19409cf
1 changed files with 0 additions and 4 deletions
4
registry/storage/cache/redis/redis.go
vendored
4
registry/storage/cache/redis/redis.go
vendored
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue