Skip to content

Commit

Permalink
reformat with fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Cormac Doherty committed Nov 27, 2024
1 parent 2be0dcc commit 56e849f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/csaf_aggregator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (c *config) httpClient(p *provider) util.Client {

hClient.Transport = &http.Transport{
TLSClientConfig: &tlsConfig,
Proxy: http.ProxyFromEnvironment,
Proxy: http.ProxyFromEnvironment,
}

client := util.Client(&hClient)
Expand Down
4 changes: 2 additions & 2 deletions cmd/csaf_checker/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func (p *processor) fullClient() util.Client {

hClient.Transport = &http.Transport{
TLSClientConfig: &tlsConfig,
Proxy: http.ProxyFromEnvironment,
Proxy: http.ProxyFromEnvironment,
}

client := util.Client(&hClient)
Expand Down Expand Up @@ -461,7 +461,7 @@ func (p *processor) basicClient() *http.Client {
if p.cfg.Insecure {
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
Proxy: http.ProxyFromEnvironment,
Proxy: http.ProxyFromEnvironment,
}
return &http.Client{Transport: tr}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/csaf_downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (d *downloader) httpClient() util.Client {

hClient.Transport = &http.Transport{
TLSClientConfig: &tlsConfig,
Proxy: http.ProxyFromEnvironment,
Proxy: http.ProxyFromEnvironment,
}

client := util.Client(&hClient)
Expand Down
2 changes: 1 addition & 1 deletion cmd/csaf_downloader/forwarder.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (f *forwarder) httpClient() util.Client {

hClient.Transport = &http.Transport{
TLSClientConfig: &tlsConfig,
Proxy: http.ProxyFromEnvironment,
Proxy: http.ProxyFromEnvironment,
}

client := util.Client(&hClient)
Expand Down
2 changes: 1 addition & 1 deletion cmd/csaf_uploader/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (p *processor) httpClient() *http.Client {

client.Transport = &http.Transport{
TLSClientConfig: &tlsConfig,
Proxy: http.ProxyFromEnvironment,
Proxy: http.ProxyFromEnvironment,
}

return &client
Expand Down

0 comments on commit 56e849f

Please sign in to comment.