fix(资源池): 修复资源池容量显示不正确问题
--bug=1048002 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001048002
This commit is contained in:
parent
db96c49133
commit
16a310fce5
|
@ -323,7 +323,7 @@ public class TestResourcePoolService {
|
||||||
resourcePoolNodeMetric = getNodeMetric(request.getIp(), request.getPort());
|
resourcePoolNodeMetric = getNodeMetric(request.getIp(), request.getPort());
|
||||||
for (TestResourceNodeDTO testResourceNodeDTO : testResourceDTO.getNodesList()) {
|
for (TestResourceNodeDTO testResourceNodeDTO : testResourceDTO.getNodesList()) {
|
||||||
if (StringUtils.equals(testResourceNodeDTO.getIp(), request.getIp()) && StringUtils.equals(testResourceNodeDTO.getPort(), request.getPort())) {
|
if (StringUtils.equals(testResourceNodeDTO.getIp(), request.getIp()) && StringUtils.equals(testResourceNodeDTO.getPort(), request.getPort())) {
|
||||||
resourcePoolNodeMetric.setConcurrentNumber(testResourceDTO.getConcurrentNumber());
|
resourcePoolNodeMetric.setConcurrentNumber(testResourceNodeDTO.getConcurrentNumber());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue