mirror of https://github.com/kubernetes/kops.git
Merge pull request #15689 from hakman/print_digest_error_message
Print error message when digest image fails
This commit is contained in:
commit
e6a5d05161
|
|
@ -229,7 +229,7 @@ func (a *AssetBuilder) RemapImage(image string) (string, error) {
|
||||||
|
|
||||||
digest, err := crane.Digest(image, crane.WithAuthFromKeychain(authn.DefaultKeychain))
|
digest, err := crane.Digest(image, crane.WithAuthFromKeychain(authn.DefaultKeychain))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.Warningf("failed to digest image %q", image)
|
klog.Warningf("failed to digest image %q: %s", image, err)
|
||||||
return image, nil
|
return image, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue