Skip to content

Commit

Permalink
Merge pull request outflanknl#293 from outflanknl/bugfix/278-all-alar…
Browse files Browse the repository at this point in the history
…ms-project-name

Slack message includes project name
  • Loading branch information
MarcOverIP authored Mar 4, 2023
2 parents fce059a + 0c9c1da commit 1664074
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def send_alarm(self, alarm):
"type": "section",
"text": {
"type": "mrkdwn",
"text": f'*Alarm from {alarm["info"]["name"]} [{alarm["hits"]["total"]} hits]*\n{description}',
"text": f'*[{config.project_name}] Alarm from {alarm["info"]["name"]} [{alarm["hits"]["total"]} hits]*\n{description}',
},
},
{"type": "divider"},
Expand Down

0 comments on commit 1664074

Please sign in to comment.