Skip to content

Commit

Permalink
Merge pull request #21866 from cgwalters/prefix-errpull
Browse files Browse the repository at this point in the history
machine/ociartifact: Include image name in error
  • Loading branch information
openshift-merge-bot[bot] authored Feb 29, 2024
2 parents 12694d5 + b58f20b commit 8377483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/ocipull/ociartifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (o *OCIArtifactDisk) get() error {
}
// pull the image down to our local filesystem
if err := o.pull(destRef, artifactDigest); err != nil {
return err
return fmt.Errorf("failed to pull %s: %w", destRef.DockerReference(), err)
}
// grab the artifact disk out of the cache and lay
// it into our local cache in the format of
Expand Down

0 comments on commit 8377483

Please sign in to comment.