TUN-2646: Make --edge flag work again for local development

This commit is contained in:
Nick Vollmar
2019-12-23 23:11:00 -06:00
parent 7d7bdffde5
commit 7367827a11
3 changed files with 11 additions and 3 deletions

View File

@@ -539,7 +539,7 @@ func NewTunnelHandler(ctx context.Context,
// Client mux handshake with agent server
h.muxer, err = h2mux.Handshake(edgeConn, edgeConn, config.muxerConfig(h), h.metrics.activeStreams)
if err != nil {
return nil, "", errors.Wrap(err, "Handshake with edge error")
return nil, "", errors.Wrap(err, "h2mux handshake with edge error")
}
return h, edgeConn.LocalAddr().String(), nil
}