mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Fix nil check in downloader
This commit is contained in:
parent
d8e903587a
commit
b8a5fa72d5
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ func (d *downloader) httpClient() util.Client {
|
|||
client := util.Client(&hClient)
|
||||
|
||||
// Overwrite for testing purposes
|
||||
if client != nil {
|
||||
if d.client != nil {
|
||||
client = *d.client
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue