fix: 修复pr冲突

This commit is contained in:
chenjianxing 2021-01-26 17:34:54 +08:00
parent 49a5053b38
commit 16a2450953
1 changed files with 0 additions and 3 deletions

View File

@ -50,9 +50,6 @@ public class NodeResourcePoolService {
if (Ip_Port.size() < testResourcePool.getResources().size()) { if (Ip_Port.size() < testResourcePool.getResources().size()) {
MSException.throwException(Translator.get("duplicate_node_ip_port")); MSException.throwException(Translator.get("duplicate_node_ip_port"));
} }
else if (nodePorts.size() < testResourcePool.getResources().size()) {
MSException.throwException(Translator.get("duplicate_node_port"));
}
testResourcePool.setStatus(VALID.name()); testResourcePool.setStatus(VALID.name());
boolean isValid = true; boolean isValid = true;
for (TestResource resource : testResourcePool.getResources()) { for (TestResource resource : testResourcePool.getResources()) {