Merge pull request #15689 from hakman/print_digest_error_message

Print error message when digest image fails
This commit is contained in:
Kubernetes Prow Robot 2023-07-21 23:36:08 -07:00 committed by GitHub
commit e6a5d05161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}