mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Store downloader in context
This commit is contained in:
parent
a7821265ca
commit
5437d8127a
1 changed files with 1 additions and 0 deletions
|
|
@ -432,6 +432,7 @@ type downloadContext struct {
|
||||||
|
|
||||||
func newDownloadContext(d *downloader, label csaf.TLPLabel) *downloadContext {
|
func newDownloadContext(d *downloader, label csaf.TLPLabel) *downloadContext {
|
||||||
dc := &downloadContext{
|
dc := &downloadContext{
|
||||||
|
d: d,
|
||||||
client: d.httpClient(),
|
client: d.httpClient(),
|
||||||
lower: strings.ToLower(string(label)),
|
lower: strings.ToLower(string(label)),
|
||||||
expr: util.NewPathEval(),
|
expr: util.NewPathEval(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue