Skip to content

Commit

Permalink
bug: 质量红线审核通知未成功发送 TencentBlueKing#5658
Browse files Browse the repository at this point in the history
  • Loading branch information
JamiKX1 committed Nov 30, 2021
1 parent 7c55c40 commit bf59a16
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ class QualityRuleCheckService @Autowired constructor(
buildNo = buildNo,
createTime = createTime,
resultList = resultList,
auditNotifyTypeList = ruleOp.notifyTypeList ?: listOf(),
auditNotifyUserList = (ruleOp.auditUserList
?: listOf()).toSet().map { user ->
EnvUtils.parseEnv(user, runtimeVariable ?: mapOf())
Expand Down Expand Up @@ -666,7 +665,6 @@ class QualityRuleCheckService @Autowired constructor(
buildNo: String,
createTime: LocalDateTime,
resultList: List<RuleCheckSingleResult>,
auditNotifyTypeList: List<NotifyType>,
auditNotifyUserList: List<String>,
runtimeVariable: Map<String, String>?
) {
Expand Down Expand Up @@ -701,7 +699,6 @@ class QualityRuleCheckService @Autowired constructor(
val sendNotifyMessageTemplateRequest = SendNotifyMessageTemplateRequest(
templateCode = PIPELINE_QUALITY_AUDIT_NOTIFY_TEMPLATE_V2,
receivers = notifyUserSet,
notifyType = auditNotifyTypeList.map { it.name }.toMutableSet(),
cc = mutableSetOf(triggerUserId),
titleParams = mapOf(
"projectName" to projectName,
Expand Down

0 comments on commit bf59a16

Please sign in to comment.