Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checking if an image is cached races with parallel downloads. Take the lock when validating the digest or the data file to ensure that we validate the cached when it is in consistent state. If an image is being downloaded, the check will block until the download completes. Signed-off-by: Nir Soffer <[email protected]>
- Loading branch information