Update escalation step wording (#3854)
Fixes https://github.com/grafana/oncall/issues/3828 (was debugging some code around, simple update)
This commit is contained in:
parent
d64ca29756
commit
cb48842e49
2 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ class EscalationPolicy(OrderedModel):
|
|||
"Start {{importance}} notification for schedule {{schedule}}",
|
||||
"Notify users from on-call schedule",
|
||||
),
|
||||
STEP_FINAL_RESOLVE: ("Resolve incident automatically", "Resolve incident automatically"),
|
||||
STEP_FINAL_RESOLVE: ("Resolve alert group automatically", "Resolve alert group automatically"),
|
||||
# Slack
|
||||
STEP_FINAL_NOTIFYALL: ("Notify whole Slack channel", "Notify whole Slack channel"),
|
||||
STEP_NOTIFY_GROUP: (
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ class UserNotificationPolicyLogRecord(models.Model):
|
|||
self.notification_error_code
|
||||
== UserNotificationPolicyLogRecord.ERROR_NOTIFICATION_POSTING_TO_SLACK_IS_DISABLED
|
||||
):
|
||||
result += f"failed to notify {user_verbal} in Slack, because the incident is not posted to Slack (reason: Slack is disabled for the route)"
|
||||
result += f"failed to notify {user_verbal} in Slack (reason: {self.reason})"
|
||||
elif (
|
||||
self.notification_error_code
|
||||
== UserNotificationPolicyLogRecord.ERROR_NOTIFICATION_POSTING_TO_TELEGRAM_IS_DISABLED
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue