Revert "integration: fix httptest TLS server start"

This reverts commit 3d3ba8b9cb182e958d8d0c26ac13fff899424fc9.
This commit is contained in:
Gyuho Lee 2018-04-13 13:06:09 -07:00
parent 6ab9776601
commit b705f6f8f2

View File

@ -786,11 +786,7 @@ func (m *member) Launch() error {
Config: &http.Server{Handler: h, TLSConfig: peerTLScfg},
TLS: peerTLScfg,
}
if peerTLScfg == nil {
hs.Start()
} else {
hs.StartTLS()
}
hs.Start()
donec := make(chan struct{})
go func() {