mirror of
https://github.com/helm/helm.git
synced 2026-08-09 09:33:14 +00:00
chore(*): Fix formatting
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
This commit is contained in:
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user