fix(性能测试): 查询 service 区分端口
This commit is contained in:
parent
b95ce0a221
commit
d53f2783e8
|
@ -82,7 +82,7 @@ public class CatalogApiController {
|
||||||
|
|
||||||
int i = service.lastIndexOf("-");
|
int i = service.lastIndexOf("-");
|
||||||
String address = service.substring(0, i);
|
String address = service.substring(0, i);
|
||||||
String port = service.substring(i);
|
String port = service.substring(i + 1);
|
||||||
String result = "[\n" +
|
String result = "[\n" +
|
||||||
" {\n" +
|
" {\n" +
|
||||||
" \"Node\": {\n" +
|
" \"Node\": {\n" +
|
||||||
|
|
Loading…
Reference in New Issue