提交 8901dbe4 编写于 作者: K Kohsuke Kawaguchi

Exposing it outside

上级 411c3cfe
...@@ -261,7 +261,7 @@ public class CLI { ...@@ -261,7 +261,7 @@ public class CLI {
/** /**
* If the server advertises CLI endpoint, returns its location. * If the server advertises CLI endpoint, returns its location.
*/ */
private CliPort getCliTcpPort(String url) throws IOException { protected CliPort getCliTcpPort(String url) throws IOException {
URL _url = new URL(url); URL _url = new URL(url);
if (_url.getHost()==null || _url.getHost().length()==0) { if (_url.getHost()==null || _url.getHost().length()==0) {
throw new IOException("Invalid URL: "+url); throw new IOException("Invalid URL: "+url);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册