Skip to content

Commit

Permalink
bugfix: 执行方案步骤引用命名空间变量,如果目标主机包含ipv6主机,Job任务卡住 TencentBlueKing#1687
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu096 committed Jan 11, 2023
1 parent eb871cb commit 07bcaa4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -227,7 +227,7 @@ Response<StepExecutionDetailVO> getFastTaskStepExecutionResult(
);

@CompatibleImplementation(name = "ipv6", explain = "考虑到历史记录只有ip数据,所以需要同时兼容hostId/ip两种方式",
version = "3.7.x")
deprecatedVersion = "3.7.x")
@ApiOperation(value = "获取主机对应的脚本日志内容", produces = "application/json")
@GetMapping(value = {"/step-execution-result/log-content/{stepInstanceId}/{executeCount}/{ip}",
"/step-execution-result/log-content/{stepInstanceId}/{executeCount}/host/{hostId}"})
Expand Down Expand Up @@ -259,7 +259,7 @@ Response<IpScriptLogContentVO> getScriptLogContentByHost(
);

@CompatibleImplementation(name = "ipv6", explain = "考虑到历史记录只有ip数据,所以需要同时兼容hostId/ip两种方式",
version = "3.7.x")
deprecatedVersion = "3.7.x")
@ApiOperation(value = "获取文件分发步骤主机对应的日志", produces = "application/json")
@GetMapping(value = {"/step-execution-result/log-content/file/{stepInstanceId}/{executeCount}/{ip}",
"/step-execution-result/log-content/file/{stepInstanceId}/{executeCount}/host/{hostId}"})
Expand Down

0 comments on commit 07bcaa4

Please sign in to comment.