1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

fix error message

The error message had a trailing `:` which suggest that there are some details which were truncated. However the details are already printed before in the log.
This commit is contained in:
Marius Goetze 2024-07-16 12:00:09 +02:00
parent 1e531de82d
commit bcf4d2f64a

View file

@ -205,7 +205,7 @@ func (d *downloader) download(ctx context.Context, domain string) error {
"domain", domain,
"message", lpmd.Messages[i].Message)
}
return fmt.Errorf("no valid provider-metadata.json found for '%s': ", domain)
return fmt.Errorf("no valid provider-metadata.json found for '%s'", domain)
} else if d.cfg.verbose() {
for i := range lpmd.Messages {
slog.Debug("Loading provider-metadata.json",