Browse Source

Revert "integration: fix httptest TLS server start"

This reverts commit 3d3ba8b9cb182e958d8d0c26ac13fff899424fc9.
Gyuho Lee 7 years ago
parent
commit
b705f6f8f2
1 changed files with 1 additions and 5 deletions
  1. 1 5
      integration/cluster.go

+ 1 - 5
integration/cluster.go

@@ -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() {