Skip to content

Commit 4671364

Browse files
committed
fix slack alert format
1 parent 8fd714b commit 4671364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/alerts/slack.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ impl AlertTrait for SlackAlert {
7878

7979
let message = if matches!(alert.severity, Severity::Critical | Severity::High) {
8080
format!(
81-
"{}\n
82-
Ping: {}",
81+
"{}\n\
82+
*Ping*: {}",
8383
message,
8484
self.mentions.join(" ")
8585
)

0 commit comments

Comments
 (0)