From ec655a6b8302adeb879d2861cb5fd1762b2ad63b Mon Sep 17 00:00:00 2001
From: jsonwan <jsonwan@tencent.com>
Date: Fri, 9 Aug 2024 17:46:10 +0800
Subject: [PATCH] =?UTF-8?q?perf:=20=E7=8E=AF=E5=A2=83=E7=AE=A1=E7=90=86?=
 =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=83=A8=E5=88=86=E9=94=99=E8=AF=AF=E7=A0=81?=
 =?UTF-8?q?=20#10788?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

添加错误码:ERROR_INPUT_TOO_MANY_IP
---
 .../devops/environment/constant/EnvironmentMessageCode.kt        | 1 +
 support-files/i18n/environment/message_en_US.properties          | 1 +
 support-files/i18n/environment/message_zh_CN.properties          | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt b/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt
index 84fb7969fd1..7c47df98395 100644
--- a/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt
+++ b/src/backend/ci/core/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/constant/EnvironmentMessageCode.kt
@@ -103,6 +103,7 @@ object EnvironmentMessageCode {
     const val ERROR_NODE_LIST_NODE_NOT_IN_CC_OR_CMDB = "2105053" // 环境管理: 节点中的[{0}]不在CC/CMDB中
     const val ERROR_JOB_INSTANCE_NOT_BELONG_TO_PROJECT = "2105054" // 环境管理: 请求的job实例不属于当前项目或已过期(超过一个月)
     const val ERROR_FAIL_TO_CREATE_AGENT_INSTALL_TASK = "2105055" // 环境管理: 创建Agent安装任务失败:{0}
+    const val ERROR_INPUT_TOO_MANY_IP = "2105056" // 环境管理: 输入的IP数量不可超过{0}
 
     const val BK_NORMAL_VERSION = "bkNormalVersion" // 8核16G(普通版)
     const val BK_INTEL_XEON_SKYLAKE_PROCESSOR = "bkIntelXeonSkylakeProcessor" // 2.5GHz 64核 Intel Xeon Skylake 6133处理器
diff --git a/support-files/i18n/environment/message_en_US.properties b/support-files/i18n/environment/message_en_US.properties
index c27b00fb254..fb8f6de77f7 100644
--- a/support-files/i18n/environment/message_en_US.properties
+++ b/support-files/i18n/environment/message_en_US.properties
@@ -54,6 +54,7 @@
 2105053=Environment Management: Node [{0}] in node list is not in CC/CMDB.
 2105054=Environment Management: The job instance you have queried doesn't belong to the current project or more than one month.
 2105055=Environment Management: Fail to create GSE Agent install task:{0}.
+2105056=Environment Management: Input ip num cannot exceed {0}.
 bkEstimatedDeliveryTime=Estimated delivery time: {0} minutes
 bkHighEndVersion=32-core 64G (high-end version)
 bkIntelXeonSkylakeProcessor=2.5GHz 64-core Intel Xeon Skylake 6133 processor
diff --git a/support-files/i18n/environment/message_zh_CN.properties b/support-files/i18n/environment/message_zh_CN.properties
index 535b598e67d..471c2c75936 100644
--- a/support-files/i18n/environment/message_zh_CN.properties
+++ b/support-files/i18n/environment/message_zh_CN.properties
@@ -54,6 +54,7 @@
 2105053=环境管理: 节点中的[{0}]不在CC/CMDB中
 2105054=环境管理: 请求的job实例不属于当前项目或已过期(超过一个月)
 2105055=环境管理: 创建Agent安装任务失败:{0}
+2105056=环境管理: 输入的IP数量不可超过{0}
 bkEstimatedDeliveryTime=预计交付周期: {0}分钟
 bkHighEndVersion=32核64G(高配版)
 bkIntelXeonSkylakeProcessor=2.5GHz 64核 Intel Xeon Skylake 6133处理器