From 56e849fbb0ad905644e77a0c41ab02130a52bec6 Mon Sep 17 00:00:00 2001 From: Cormac Doherty Date: Wed, 27 Nov 2024 21:12:09 +0000 Subject: [PATCH] reformat with fmt --- cmd/csaf_aggregator/config.go | 2 +- cmd/csaf_checker/processor.go | 4 ++-- cmd/csaf_downloader/downloader.go | 2 +- cmd/csaf_downloader/forwarder.go | 2 +- cmd/csaf_uploader/processor.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/csaf_aggregator/config.go b/cmd/csaf_aggregator/config.go index 4cfdf1a3..3c2c46b5 100644 --- a/cmd/csaf_aggregator/config.go +++ b/cmd/csaf_aggregator/config.go @@ -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) diff --git a/cmd/csaf_checker/processor.go b/cmd/csaf_checker/processor.go index 19194dfb..5d1b69b5 100644 --- a/cmd/csaf_checker/processor.go +++ b/cmd/csaf_checker/processor.go @@ -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) @@ -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} } diff --git a/cmd/csaf_downloader/downloader.go b/cmd/csaf_downloader/downloader.go index 832b8499..b7e73422 100644 --- a/cmd/csaf_downloader/downloader.go +++ b/cmd/csaf_downloader/downloader.go @@ -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) diff --git a/cmd/csaf_downloader/forwarder.go b/cmd/csaf_downloader/forwarder.go index 19e94d2e..15982839 100644 --- a/cmd/csaf_downloader/forwarder.go +++ b/cmd/csaf_downloader/forwarder.go @@ -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) diff --git a/cmd/csaf_uploader/processor.go b/cmd/csaf_uploader/processor.go index b594ce1e..f655e02a 100644 --- a/cmd/csaf_uploader/processor.go +++ b/cmd/csaf_uploader/processor.go @@ -51,7 +51,7 @@ func (p *processor) httpClient() *http.Client { client.Transport = &http.Transport{ TLSClientConfig: &tlsConfig, - Proxy: http.ProxyFromEnvironment, + Proxy: http.ProxyFromEnvironment, } return &client