Skip to content

Commit

Permalink
Merge pull request #17787 from callthingsoff/eliminate_tls.Config.Nam…
Browse files Browse the repository at this point in the history
…eToCertificate

server/etcdmain: eliminate deprecated tlsConfig.BuildNameToCertificate()
  • Loading branch information
serathius authored Apr 17, 2024
2 parents 5a8c8b7 + ecb52d7 commit e37a67e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/etcdmain/grpc_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ func newHTTPTransport(ca, cert, key string) (*http.Transport, error) {
Certificates: []tls.Certificate{keyPair},
RootCAs: caPool,
}
tlsConfig.BuildNameToCertificate()
tr.TLSClientConfig = tlsConfig
} else if grpcProxyInsecureSkipTLSVerify {
tlsConfig := &tls.Config{InsecureSkipVerify: grpcProxyInsecureSkipTLSVerify}
Expand Down

0 comments on commit e37a67e

Please sign in to comment.