Skip to content

Commit

Permalink
Update cache/image_cache.go
Browse files Browse the repository at this point in the history
Co-authored-by: Natalie Arellano <[email protected]>
Signed-off-by: Joey Brown <[email protected]>
  • Loading branch information
joeybrown-sf and natalieparellano authored Jul 9, 2024
1 parent 3d30c91 commit 8570898
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 @@ -117,7 +117,7 @@ func (c *ImageCache) RetrieveLayer(diffID string) (io.ReadCloser, error) {
closer, err := c.origImage.GetLayer(diffID)
if err != nil {
if IsLayerNotFound(err) {
return nil, NewReadErr(fmt.Sprintf("Layer with SHA '%s' not found", diffID))
return nil, NewReadErr(fmt.Sprintf("failed to find cache layer with SHA '%s'", diffID))
}
return nil, NewReadErr(fmt.Sprintf("unknown error retrieving layer with SHA '%s'", diffID))
}
Expand Down

0 comments on commit 8570898

Please sign in to comment.