Skip to content

Commit

Permalink
Mark manifest blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
oxpa committed Sep 5, 2024
1 parent 855b68b commit 484a036
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions experimental/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ func (r *repositoryData) markManifestLayers(blobs blobsData, revision digest) er

var resultErr error
for _, m := range manifest.manifests {
_, ok := r.manifests[m]
if ok {
r.markManifest(m)
}
r.markManifest(m)
blobs.mark(m)
}

r.lock.Lock()
Expand Down

0 comments on commit 484a036

Please sign in to comment.