Commit cbbefb3
committed
Replace @ in events to avoid notifying @mentions
When using Ansible to create Datadog monitors, the events we create here
could contain @mentions meant to appear in the monitor message. That can
cause teams meant to be notified when the monitor goes off to be notified
when the monitor is created, because of the event containging an @mention.
This replaces @mentions with (@)mentions, preventing the notification.1 parent 39f844c commit cbbefb3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments