Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lysu committed Mar 17, 2020
1 parent b87f4b1 commit d6113a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d6113a5

Please sign in to comment.