Skip to content

Commit

Permalink
fix: 调试作业模版,后台报请求异常错误 TencentBlueKing#3098
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu096 committed Jul 9, 2024
1 parent 3ab94ac commit 6758d10
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,7 @@ public TaskPlanInfoDTO getDebugTaskPlan(String username, Long appId, Long templa
taskPlan = new TaskPlanInfoDTO();
taskPlan.setAppId(appId);
taskPlan.setTemplateId(templateId);
taskPlan.setName(taskTemplateInfo.getName() +
"_" + i18nService.getI18n("job.task.plan.debug")
+ "_" + System.currentTimeMillis() / 1000L
);
taskPlan.setName(taskTemplateInfo.getName());
taskPlan.setCreator(username);
taskPlan.setLastModifyUser(username);
taskPlan.setLastModifyTime(DateUtils.currentTimeSeconds());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ job.account.category.db=数据库账号
103702112=危险:不要对块设备进行格式化文件系统!
103702113=危险:不要对块设备进行格式化!
103702114=危险:不要用 dd 命令进行块设备操作!
job.task.plan.debug=调试


#消息通知部分
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ job.account.category.db=Database Account
103702112=Danger: Do not format the file system for block devices!
103702113=Danger: Do not format block devices!
103702114=Danger: Do not use command 'dd' to operate block devices!
job.task.plan.debug=Debug


#消息通知部分
#资源类型
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ job.account.category.db=Database Account
103702112=Danger: Do not format the file system for block devices!
103702113=Danger: Do not format block devices!
103702114=Danger: Do not use 'dd' for block devices!
job.task.plan.debug=Debug


#消息通知部分
#资源类型
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ job.account.category.db=数据库账号
103702112=危险:不要对块设备进行格式化文件系统!
103702113=危险:不要对块设备进行格式化!
103702114=危险:不要用 dd 命令进行块设备操作!
job.task.plan.debug=调试


#消息通知部分
#资源类型
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ job.account.category.db=数据库账号
103702112=危险:不要对块设备进行格式化文件系统!
103702113=危险:不要对块设备进行格式化!
103702114=危险:不要用 dd 命令进行块设备操作!
job.task.plan.debug=调试


#消息通知部分
#资源类型
Expand Down

0 comments on commit 6758d10

Please sign in to comment.