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

Improve checks and messages for bad entries in files

* Ignore bad URLs in index.txt, improve messages.

resolve #158
This commit is contained in:
Sascha L. Teichmann 2022-07-21 17:11:46 +02:00 committed by GitHub
parent 6a605fdbcc
commit d1855a9c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 12 deletions

View file

@ -76,7 +76,8 @@ func (w *worker) mirrorInternal() (*csaf.AggregatorCSAFProvider, error) {
w.client,
w.expr,
w.metadataProvider,
base)
base,
nil)
if err := afp.Process(w.mirrorFiles); err != nil {
return nil, err