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) {
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)

@ -293,4 +293,4 @@ func TestHTTPGetterTarDownload(t *testing.T) {
if mimeType != expectedMimeType {
t.Fatalf("Expected response with MIME type %s, but got %s", expectedMimeType, mimeType)
}
}
}

Loading…
Cancel
Save