Skip to content

Commit

Permalink
Call SetDirectory in OAuth TLS Config (#337)
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
  • Loading branch information
roidelapluie committed Oct 20, 2021
1 parent 9961171 commit 2af6d03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/http_config.go
Expand Up @@ -170,6 +170,7 @@ func (a *OAuth2) SetDirectory(dir string) {
return
}
a.ClientSecretFile = JoinDir(dir, a.ClientSecretFile)
a.TLSConfig.SetDirectory(dir)
}

// HTTPClientConfig configures an HTTP client.
Expand Down

0 comments on commit 2af6d03

Please sign in to comment.