Rebased and passed TunnelEventChan to LogServerInfo in new ReconnectTunnel function

This commit is contained in:
Rachel Williams
2020-09-17 11:52:10 +04:00
committed by Areg Harutyunyan
parent 71b98e6111
commit 8a829b773a
+1 -1
View File
@@ -174,7 +174,7 @@ func ReconnectTunnel(
serverInfoPromise := tunnelrpc.TunnelServer{Client: tunnelServer.Client}.GetServerInfo(ctx, func(tunnelrpc.TunnelServer_getServerInfo_Params) error {
return nil
})
LogServerInfo(serverInfoPromise.Result(), connectionID, config.Metrics, logger)
LogServerInfo(serverInfoPromise.Result(), connectionID, config.Metrics, logger, config.TunnelEventChan)
registration := tunnelServer.ReconnectTunnel(
ctx,
token,