Skip to content

Commit

Permalink
fix test regression
Browse files Browse the repository at this point in the history
  • Loading branch information
joeybrown-sf committed Jul 16, 2024
1 parent ba02977 commit 289442a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/image_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (c *ImageCache) ReuseLayer(diffID string) error {
if c.committed {
return errCacheCommitted
}
err := c.origImage.ReuseLayer(diffID)
err := c.newImage.ReuseLayer(diffID)
if err != nil {
// FIXME: this path is not currently executed.
// If a blob is not present in the registry, we should get imgutil.ErrLayerNotFound.
Expand Down

0 comments on commit 289442a

Please sign in to comment.