Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/csaf_downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ allFiles:
select {
case advisoryCh <- file:
case <-ctx.Done():
errorCh <- ctx.Err()
break allFiles
}
}
Expand Down Expand Up @@ -793,6 +794,7 @@ func (d *Downloader) downloadWorker(
return
}
case <-ctx.Done():
errorCh <- ctx.Err()
return
}
if err := dc.downloadAdvisory(file, errorCh); err != nil {
Expand Down
Loading