Merge pull request #166 from gabriel-samfira/fix-gh-client-tls-bug

Fix TLS client bug
This commit is contained in:
Gabriel 2023-08-23 14:33:30 +03:00 committed by GitHub
commit 789644c27f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ func GithubClient(ctx context.Context, token string, credsDetails params.GithubC
}
httpTransport := &http.Transport{
TLSClientConfig: &tls.Config{
ClientCAs: roots,
RootCAs: roots,
},
}
httpClient := &http.Client{Transport: httpTransport}