Skip to content

Commit

Permalink
Merge pull request #15690 from hakman/automated-cherry-pick-of-#15689…
Browse files Browse the repository at this point in the history
…-upstream-release-1.27

Automated cherry pick of #15689: Print error message when digest image fails
  • Loading branch information
k8s-ci-robot committed Jul 22, 2023
2 parents a1a0c87 + c1189e1 commit 63503aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/assets/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (a *AssetBuilder) RemapImage(image string) (string, error) {

digest, err := crane.Digest(image, crane.WithAuthFromKeychain(authn.DefaultKeychain))
if err != nil {
klog.Warningf("failed to digest image %q", image)
klog.Warningf("failed to digest image %q: %s", image, err)
return image, nil
}

Expand Down

0 comments on commit 63503aa

Please sign in to comment.