You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("failed to read a soci index with digest %s from the content store (try running \"soci rebuild-db\" first): %w", indexInfo.Descriptor.Digest, err)
102
+
iferrors.Is(err, errdefs.ErrNotFound) {
103
+
log.G(ctx).Debug("a soci index was found in the artifact store but not in the content store, skipping")
104
+
continue
105
+
}
106
+
returnfmt.Errorf("failed to read a soci index with digest %s from the content store: %w", indexInfo.Descriptor.Digest, err)
returnnil, fmt.Errorf("a ztoc entry was found in the artifact store but not in the content store (try running \"soci rebuild-db\" first or try again with \"--force\" flag): %w", err)
639
+
log.G(ctx).Debug("a ztoc entry was found in the artifact store but not in the content store, overwriting existing ztoc")
640
+
shouldOverwrite=true
641
+
} else {
642
+
returnnil, fmt.Errorf("failed to fetch existing ztoc: %w", err)
639
643
}
640
-
returnnil, fmt.Errorf("failed to fetch existing ztoc: %w", err)
0 commit comments