We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea11c1 commit d87720cCopy full SHA for d87720c
integration/helpers/version.go
@@ -43,9 +43,8 @@ func (v UAAVersion) Version() string {
43
func IsUAAVersionAtLeast(minVersion string) bool {
44
info := fetchAPIVersion()
45
uaaUrl := fmt.Sprintf("%s/info", info.Links.UAA.Href)
46
- tr := &http.Transport{
47
- TLSClientConfig: &tls.Config{InsecureSkipVerify: SkipSSLValidation()},
48
- }
+ tr := http.DefaultTransport.(*http.Transport).Clone()
+ tr.TLSClientConfig = &tls.Config{InsecureSkipVerify: SkipSSLValidation()}
49
req, err := http.NewRequest("GET", uaaUrl, nil)
50
Expect(err).ToNot(HaveOccurred())
51
req.Header.Add("Accept", "application/json")
0 commit comments