Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#9942 from yongyiduan/issue_9941
Browse files Browse the repository at this point in the history
[bugfix] stream跨库触发commit check概率丢失 TencentBlueKing#9941
  • Loading branch information
mingshewhe authored Jan 22, 2024
2 parents 90482a7 + 8a00485 commit 45cbcd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ class TGitMrActionGit(
mrId = event.object_attributes.id.toString(),
retry = ApiRequestRetryInfo(true)
)?.baseInfo
data.context.mrTargetBranch = event.object_attributes.target_branch
data.context.gitMrReviewInfo = apiService.getMrReview(
cred = getGitCred(),
gitProjectId = event.object_attributes.target_project_id.toString(),
Expand All @@ -236,6 +235,7 @@ class TGitMrActionGit(
logger.warn("TGit MR action cache mrInfo/mrReviewInfo error", e)
}
}
data.context.mrTargetBranch = event.object_attributes.target_branch
}

override fun tryGetMrInfoFromCache(): TGitMrInfo? {
Expand Down

0 comments on commit 45cbcd6

Please sign in to comment.