mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Expose logging as field in AdvisoryFileProcessor to shrink constructor signature.
This commit is contained in:
parent
f8c3741d12
commit
0ad4ed9e36
3 changed files with 4 additions and 8 deletions
|
|
@ -76,8 +76,7 @@ func (w *worker) mirrorInternal() (*csaf.AggregatorCSAFProvider, error) {
|
|||
w.client,
|
||||
w.expr,
|
||||
w.metadataProvider,
|
||||
base,
|
||||
nil)
|
||||
base)
|
||||
|
||||
if err := afp.Process(w.mirrorFiles); err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
|
|
@ -150,8 +150,7 @@ func (d *downloader) download(ctx context.Context, domain string) error {
|
|||
client,
|
||||
d.eval,
|
||||
lpmd.Document,
|
||||
base,
|
||||
nil)
|
||||
base)
|
||||
|
||||
// Do we need time range based filtering?
|
||||
if d.cfg.Range != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue