Fixing per gofmt

Signed-off-by: Matt Farina <matt@mattfarina.com>
release-3.2 v3.2.2
Matt Farina 5 years ago
parent 1da74ed1bb
commit a6ea66349a
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -92,7 +92,7 @@ func NewHTTPGetter(options ...Option) (Getter, error) {
func (g *HTTPGetter) httpClient() (*http.Client, error) {
transport := &http.Transport{
DisableCompression: true,
Proxy: http.ProxyFromEnvironment,
Proxy: http.ProxyFromEnvironment,
}
if (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