Unverified Commit a6ea6634 authored by Matt Farina's avatar Matt Farina
Browse files

Fixing per gofmt

Signed-off-by: default avatarMatt Farina <matt@mattfarina.com>
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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)
......
......@@ -286,4 +286,4 @@ func TestHTTPGetterTarDownload(t *testing.T) {
if mimeType != expectedMimeType {
t.Fatalf("Expected response with MIME type %s, but got %s", expectedMimeType, mimeType)
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment