Skip to content

Commit

Permalink
Fixes issue with severity and report confirmation message (#2698)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss authored Nov 14, 2022
1 parent 11299de commit 207d8e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/dispatch/plugins/dispatch_slack/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def create_command_run_in_conversation_where_bot_not_present_message(


def create_incident_reported_confirmation_message(
title: str, description: str, incident_type: str, incident_severity: str, incident_priority: str
title: str, description: str, incident_type: str, incident_priority: str
):
"""Creates an incident reported confirmation message."""
return [
Expand All @@ -174,10 +174,6 @@ def create_incident_reported_confirmation_message(
"type": "section",
"text": {"type": "mrkdwn", "text": f"*Incident Type*: {incident_type}"},
},
{
"type": "section",
"text": {"type": "mrkdwn", "text": f"*Incident Severity*: {incident_severity}"},
},
{
"type": "section",
"text": {"type": "mrkdwn", "text": f"*Incident Priority*: {incident_priority}"},
Expand Down

0 comments on commit 207d8e7

Please sign in to comment.