embed: set 'ClientCertAuthEnabled'

release-3.0
Gyu-Ho Lee 2016-07-20 16:23:24 -07:00
parent affcbfbf06
commit 59bf6693c7
1 changed files with 1 additions and 0 deletions

View File

@ -368,6 +368,7 @@ func startEtcd(cfg *config) (<-chan struct{}, error) {
QuotaBackendBytes: cfg.QuotaBackendBytes,
StrictReconfigCheck: cfg.StrictReconfigCheck,
EnablePprof: cfg.enablePprof,
ClientCertAuthEnabled: cfg.clientTLSInfo.ClientCertAuth,
}
var s *etcdserver.EtcdServer
s, err = etcdserver.NewServer(srvcfg)