fix arthas connect to tunnel server error info. close #871

This commit is contained in:
hengyunabc
2019-09-23 22:17:14 +08:00
parent f9e698d09c
commit 59d8eee0a6
@@ -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());