未验证 提交 c15c867c 编写于 作者: M Matteo Merli 提交者: GitHub

Fixed the default port for https and http in admin client (#4623)

* Fixed the default port for https and http in admin client

* Fixed test expectation

* Removed space added by mistake
上级 c421ca6e
......@@ -52,8 +52,8 @@ public class ServiceURI {
private static final int BINARY_PORT = 6650;
private static final int BINARY_TLS_PORT = 6651;
private static final int HTTP_PORT = 8080;
private static final int HTTPS_PORT = 8443;
private static final int HTTP_PORT = 80;
private static final int HTTPS_PORT = 443;
/**
* Create a service uri instance from a uri string.
......
......@@ -178,7 +178,7 @@ public class ServiceURITest {
"http",
new String[0],
null,
new String[] { "host1:8080", "host2:8080", "host3:8080" },
new String[] { "host1:80", "host2:80", "host3:80" },
"/path/to/namespace");
}
......@@ -190,7 +190,7 @@ public class ServiceURITest {
"https",
new String[0],
null,
new String[] { "host1:8443", "host2:8443", "host3:8443" },
new String[] { "host1:443", "host2:443", "host3:443" },
"/path/to/namespace");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册