mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
embed: set 'ClientCertAuthEnabled'
This commit is contained in:
parent
9510bd6036
commit
be001c44e8
@ -116,6 +116,7 @@ func StartEtcd(inCfg *Config) (e *Etcd, err error) {
|
||||
QuotaBackendBytes: cfg.QuotaBackendBytes,
|
||||
StrictReconfigCheck: cfg.StrictReconfigCheck,
|
||||
EnablePprof: cfg.EnablePprof,
|
||||
ClientCertAuthEnabled: cfg.ClientTLSInfo.ClientCertAuth,
|
||||
}
|
||||
|
||||
if e.Server, err = etcdserver.NewServer(srvcfg); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user