Explorar el Código

Hack the code so that both existing Go versions and current Go master format it the same (#358)

Margaret Nolan hace 7 años
padre
commit
58b78aa5a1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      internal/driver/fetch.go

+ 2
- 2
internal/driver/fetch.go Ver fichero

@@ -599,9 +599,9 @@ var httpGet = func(source string, timeout time.Duration) (*http.Response, error)
599 599
 
600 600
 	client := &http.Client{
601 601
 		Transport: &http.Transport{
602
+			Proxy:                 http.ProxyFromEnvironment,
603
+			TLSClientConfig:       tlsConfig,
602 604
 			ResponseHeaderTimeout: timeout + 5*time.Second,
603
-			Proxy:           http.ProxyFromEnvironment,
604
-			TLSClientConfig: tlsConfig,
605 605
 		},
606 606
 	}
607 607
 	return client.Get(source)