Skip to content

Commit 34535fc

Browse files
committed
Add newline between alerts
1 parent ba34a16 commit 34535fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func main() {
7979
if strings.Contains(realname, "localhost") && alert.Labels["exported_instance"] != "" {
8080
realname = alert.Labels["exported_instance"]
8181
}
82-
Content += fmt.Sprintf(":small_red_triangle: [%s]: %s on %s\n%s\n", strings.ToUpper(amo.Status), alert.Labels["alertname"], realname, alert.Annotations.Description)
82+
Content += fmt.Sprintf("[%s]: %s on %s\n%s\n\n", strings.ToUpper(amo.Status), alert.Labels["alertname"], realname, alert.Annotations.Description)
8383
}
8484

8585
DO.Content = Content + "```"

0 commit comments

Comments
 (0)