Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgoetzegb committed Jul 16, 2024
1 parent 1e531de commit bcf4d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/csaf_downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bcf4d2f

Please sign in to comment.