mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Revert "integration: fix httptest TLS server start"
This reverts commit 3d3ba8b9cb182e958d8d0c26ac13fff899424fc9.
This commit is contained in:
parent
6ab9776601
commit
b705f6f8f2
@ -786,11 +786,7 @@ func (m *member) Launch() error {
|
|||||||
Config: &http.Server{Handler: h, TLSConfig: peerTLScfg},
|
Config: &http.Server{Handler: h, TLSConfig: peerTLScfg},
|
||||||
TLS: peerTLScfg,
|
TLS: peerTLScfg,
|
||||||
}
|
}
|
||||||
if peerTLScfg == nil {
|
hs.Start()
|
||||||
hs.Start()
|
|
||||||
} else {
|
|
||||||
hs.StartTLS()
|
|
||||||
}
|
|
||||||
|
|
||||||
donec := make(chan struct{})
|
donec := make(chan struct{})
|
||||||
go func() {
|
go func() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user