Merge pull request #166 from gabriel-samfira/fix-gh-client-tls-bug
Fix TLS client bug
This commit is contained in:
commit
789644c27f
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue