fix(资源池): 修复资源池容量显示不正确问题

--bug=1048002 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001048002
This commit is contained in:
guoyuqi 2024-10-25 19:03:21 +08:00 committed by 刘瑞斌
parent db96c49133
commit 16a310fce5
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ public class TestResourcePoolService {
resourcePoolNodeMetric = getNodeMetric(request.getIp(), request.getPort());
for (TestResourceNodeDTO testResourceNodeDTO : testResourceDTO.getNodesList()) {
if (StringUtils.equals(testResourceNodeDTO.getIp(), request.getIp()) && StringUtils.equals(testResourceNodeDTO.getPort(), request.getPort())) {
resourcePoolNodeMetric.setConcurrentNumber(testResourceDTO.getConcurrentNumber());
resourcePoolNodeMetric.setConcurrentNumber(testResourceNodeDTO.getConcurrentNumber());
break;
}
}