Skip to content

Commit

Permalink
perf: environment新增错误码 issue #11279
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyzh39 committed Dec 3, 2024
1 parent 7993fdf commit 3272c02
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 @@ -104,6 +104,7 @@ object EnvironmentMessageCode {
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 ERROR_NODE_NOT_BELONG_TO_PROJECT = "2105057" // 环境管理: IP {0} 未被作为节点导入项目 {1},请到【环境管理-节点】导入测试机后重试

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 @@ -55,6 +55,7 @@
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}.
2105057=Environment Management: IP {0} has not been imported as a node in project '{1}'. Please go to [Environment Management - Nodes] to import the test machine and try again
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 @@ -55,6 +55,7 @@
2105054=环境管理: 请求的job实例不属于当前项目或已过期(超过一个月)
2105055=环境管理: 创建Agent安装任务失败:{0}
2105056=环境管理: 输入的IP数量不可超过{0}
2105057=环境管理: IP {0} 未被作为节点导入项目 {1},请到【环境管理-节点】导入测试机后重试
bkEstimatedDeliveryTime=预计交付周期: {0}分钟
bkHighEndVersion=32核64G(高配版)
bkIntelXeonSkylakeProcessor=2.5GHz 64核 Intel Xeon Skylake 6133处理器
Expand Down

0 comments on commit 3272c02

Please sign in to comment.