do not terminate tunnel if origin is not reachable on start-up (#177)

This commit is contained in:
Roman Iuvshyn
2020-02-28 01:03:00 +02:00
committed by GitHub
parent a14aa0322c
commit 29f4650e25

View File

@@ -237,7 +237,6 @@ func prepareTunnelConfig(
err = validation.ValidateHTTPService(originURL, hostname, httpTransport)
if err != nil {
logger.WithError(err).Error("unable to connect to the origin")
return nil, errors.Wrap(err, "unable to connect to the origin")
}
toEdgeTLSConfig, err := tlsconfig.CreateTunnelConfig(c)