From d6113a5cfa3509068c5a6dd53164c1bcad94d120 Mon Sep 17 00:00:00 2001 From: lysu Date: Tue, 17 Mar 2020 13:13:43 +0800 Subject: [PATCH] fix after rebase --- config/config.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 39e0f88932f2f..f071d5a033c16 100644 --- a/config/config.go +++ b/config/config.go @@ -164,9 +164,8 @@ func (s *Security) ToTLSConfig() (tlsConfig *tls.Config, err error) { return } tlsConfig = &tls.Config{ - Certificates: certificates, - RootCAs: certPool, - ClientCAs: certPool, + RootCAs: certPool, + ClientCAs: certPool, } if len(s.ClusterSSLCert) != 0 && len(s.ClusterSSLKey) != 0 {