mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
1ff6f609b7
* Fix #3823: skip OCI conversion when image is already synced When syncRef determines an image is already synced, it now returns a bool to signal the skip. syncImage checks this and returns early before attempting OCI conversion, preventing misleading 'failed to convert docker image to oci' errors caused by a non-existent temp directory. * Keep syncReferrers and CommitAll running for already-synced images Address review feedback: new referrers can be added upstream after initial sync, so we must not skip syncReferrers. Only the OCI conversion is guarded by the skipped flag, since converting an already-stored image is both unnecessary and incorrect. Signed-off-by: Ugur Tafrali <ugur.tafrali@gmail.com> --------- Signed-off-by: Ugur Tafrali <ugur.tafrali@gmail.com>