mirror of
https://github.com/moby/buildkit.git
synced 2026-08-09 01:01:08 +00:00
Move the HTTP snapshot resolver-cache lookup into a helper so the lock release is deferred after acquisition. This keeps invalid cache entries and digest mismatch errors from returning while the cache lock is held. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>