NTP-67949 | Mohit | updating log message (#490)
* NTP-67949 | Mohit | bug fix for log dropping * NTP-67949 | Mohit | bug fix for in dockerfile for wiz * NTP-67949 | Mohit | updating log message
This commit is contained in:
committed by
GitHub
parent
fe66e364f8
commit
6bd37a1a80
@@ -1445,7 +1445,7 @@ func (i *IncidentServiceV2) UpdateSeverityId(
|
||||
err = json.Unmarshal(reportingTeam.TeamSeverityUpdateRule, &teamSeverityUpdateRule)
|
||||
if err == nil {
|
||||
if !isValidRequestForUpdateSeverity(teamSeverityUpdateRule, reportingTeam, userEntity.ToDTO()) {
|
||||
_, err := i.slackService.PostMessageByChannelID("`Please ask team who created the incident to reduce the severity or ask department head`", false, incidentEntity.SlackChannel)
|
||||
_, err := i.slackService.PostMessageByChannelID("`Please ask the department head to reduce severity`", false, incidentEntity.SlackChannel)
|
||||
if err != nil {
|
||||
logger.Error(fmt.Sprintf("%s Severity changes not allowed", updateLogTag), zap.Error(err))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user