Skip to content

Commit

Permalink
Pass useTLS in GetFrontendClientConfig's callback (#2563)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeybykov authored Mar 10, 2022
1 parent 169d03b commit 7d1d1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/rpc/encryption/localStoreTlsProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (s *localStoreTlsProvider) GetFrontendClientConfig() (*tls.Config, error) {
&s.cachedFrontendClientConfig,
func() (*tls.Config, error) {
return newClientTLSConfig(s.workerCertProvider, client.ServerName,
s.settings.Frontend.Server.RequireClientAuth, true, !client.DisableHostVerification)
useTLS, true, !client.DisableHostVerification)
},
useTLS,
)
Expand Down

0 comments on commit 7d1d1c1

Please sign in to comment.