Skip to content

Commit

Permalink
fix conflict before merging upstream changes
Browse files Browse the repository at this point in the history
this commit itself will not compile, as the `errors` pkg is only available in the downstream
  • Loading branch information
mgoetzegb committed Jul 16, 2024
1 parent 1e531de commit a5b8a19
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 errs.ErrCsafProviderIssue{Message: fmt.Sprintf("no valid provider-metadata.json found for '%s'", domain)}

Check failure on line 208 in cmd/csaf_downloader/downloader.go

View workflow job for this annotation

GitHub Actions / build

undefined: errs

Check failure on line 208 in cmd/csaf_downloader/downloader.go

View workflow job for this annotation

GitHub Actions / build

undefined: errs
} else if d.cfg.verbose() {
for i := range lpmd.Messages {
slog.Debug("Loading provider-metadata.json",
Expand Down

0 comments on commit a5b8a19

Please sign in to comment.