chore(*): Fix formatting

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
pull/7906/head
Marc Khouzam 5 years ago committed by Marc Khouzam
parent 512544b9ab
commit b18e7e201e

@ -92,7 +92,7 @@ func NewHTTPGetter(options ...Option) (Getter, error) {
func (g *HTTPGetter) httpClient() (*http.Client, error) { func (g *HTTPGetter) httpClient() (*http.Client, error) {
transport := &http.Transport{ transport := &http.Transport{
DisableCompression: true, DisableCompression: true,
Proxy: http.ProxyFromEnvironment, Proxy: http.ProxyFromEnvironment,
} }
if (g.opts.certFile != "" && g.opts.keyFile != "") || g.opts.caFile != "" { if (g.opts.certFile != "" && g.opts.keyFile != "") || g.opts.caFile != "" {
tlsConf, err := tlsutil.NewClientTLS(g.opts.certFile, g.opts.keyFile, g.opts.caFile) tlsConf, err := tlsutil.NewClientTLS(g.opts.certFile, g.opts.keyFile, g.opts.caFile)

Loading…
Cancel
Save