mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
fix TunnelClient host may null problem. #1060
This commit is contained in:
@@ -101,7 +101,7 @@ public class TunnelClient {
|
||||
|
||||
Bootstrap bs = new Bootstrap();
|
||||
|
||||
bs.group(eventLoopGroup).channel(NioSocketChannel.class).remoteAddress(agentRegisterURI.getHost(), port)
|
||||
bs.group(eventLoopGroup).channel(NioSocketChannel.class).remoteAddress(host, port)
|
||||
.handler(new ChannelInitializer<SocketChannel>() {
|
||||
@Override
|
||||
protected void initChannel(SocketChannel ch) {
|
||||
|
||||
Reference in New Issue
Block a user