Skip to content

Commit

Permalink
perf: 环境管理添加部分错误码 TencentBlueKing#10788
Browse files Browse the repository at this point in the history
添加错误码:ERROR_INPUT_TOO_MANY_IP
  • Loading branch information
jsonwan committed Aug 9, 2024
1 parent 4da27e0 commit ec655a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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处理器
Expand Down
1 change: 1 addition & 0 deletions support-files/i18n/environment/message_en_US.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions support-files/i18n/environment/message_zh_CN.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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处理器
Expand Down

0 comments on commit ec655a6

Please sign in to comment.