From 16a245095361d9b04afaaa95f36d7e0318c57b13 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 26 Jan 2021 17:34:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dpr=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/service/NodeResourcePoolService.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/src/main/java/io/metersphere/service/NodeResourcePoolService.java b/backend/src/main/java/io/metersphere/service/NodeResourcePoolService.java index d6067166d0..7866f3e14e 100644 --- a/backend/src/main/java/io/metersphere/service/NodeResourcePoolService.java +++ b/backend/src/main/java/io/metersphere/service/NodeResourcePoolService.java @@ -50,9 +50,6 @@ public class NodeResourcePoolService { if (Ip_Port.size() < testResourcePool.getResources().size()) { 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()); boolean isValid = true; for (TestResource resource : testResourcePool.getResources()) {