mirror of
https://github.com/distribution/distribution.git
synced 2025-09-29 07:55:51 +00:00
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
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user