mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
feat(api): added oci-subject header when pushing an image with subject field (#1415)
- as requested by the latest version of the oci distribution spec Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ func OnDeleteManifest(repo, reference, mediaType string, digest godigest.Digest,
|
||||
log.Info().Msg("repodb: restoring image store")
|
||||
|
||||
// restore image store
|
||||
_, err := imgStore.PutImageManifest(repo, reference, mediaType, manifestBlob)
|
||||
_, _, err := imgStore.PutImageManifest(repo, reference, mediaType, manifestBlob)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("repodb: error while restoring image store, database is not consistent")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user