Inform when we are no able to provide digest

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
pull/31206/head
Benoit Tigeot 3 weeks ago
parent 311659c085
commit df391c0324
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -165,6 +165,8 @@ func (p *Pull) Run(chartRef string) (string, error) {
if sum, err := sha256File(saved); err == nil {
fmt.Fprintf(&out, "Digest: sha256:%x\n", sum)
} else {
fmt.Fprintf(&out, "Digest failed: %v\n", err)
}
}

Loading…
Cancel
Save