do not terminate tunnel if origin is not reachable on start-up (#177)
This commit is contained in:
parent
a14aa0322c
commit
29f4650e25
|
@ -237,7 +237,6 @@ func prepareTunnelConfig(
|
||||||
err = validation.ValidateHTTPService(originURL, hostname, httpTransport)
|
err = validation.ValidateHTTPService(originURL, hostname, httpTransport)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.WithError(err).Error("unable to connect to the origin")
|
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)
|
toEdgeTLSConfig, err := tlsconfig.CreateTunnelConfig(c)
|
||||||
|
|
Loading…
Reference in New Issue