mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #17787 from callthingsoff/eliminate_tls.Config.NameToCertificate
server/etcdmain: eliminate deprecated tlsConfig.BuildNameToCertificate()
This commit is contained in:
commit
e37a67e40b
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user