mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
4628080fa1
See: https://github.com/project-zot/zot/issues/3560#issuecomment-3594856118 What happens is: - syncRef skips the image ("skipping image because it's already synced") - syncReferrers doesn't sync anything - CommitAll is still called even though nothing was synced - The temp directory exists but is empty (no index.json, no blobs) - CommitAll fails because index.json is missing Let's ensure we properly check for errors, and skip the log messages if some of the cases. Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>