mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
fix arthas connect to tunnel server error info. close #871
This commit is contained in:
@@ -89,7 +89,7 @@ public class ArthasBootstrap {
|
||||
|
||||
String agentId = null;
|
||||
try {
|
||||
if (configure.getHttpPort() > 0) {
|
||||
if (configure.getTunnelServer() != null && configure.getHttpPort() > 0) {
|
||||
tunnelClient = new TunnelClient();
|
||||
tunnelClient.setId(configure.getAgentId());
|
||||
tunnelClient.setTunnelServerUrl(configure.getTunnelServer());
|
||||
|
||||
Reference in New Issue
Block a user