Skip to content

Commit

Permalink
Merge pull request #15689 from hakman/print_digest_error_message
Browse files Browse the repository at this point in the history
Print error message when digest image fails
  • Loading branch information
k8s-ci-robot committed Jul 22, 2023
2 parents e740351 + 29f2109 commit e6a5d05
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 @@ -229,7 +229,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 e6a5d05

Please sign in to comment.