forked from prometheus/alertmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OpsGenie notifier and add unit tests
See prometheus#1223, looks like OpsGenie now sometimes returns a 422 when you don't specify a team. This change cleans up the JSON output and add a few unit tests.
- Loading branch information
Corentin Chary
committed
Feb 6, 2018
1 parent
c5ea346
commit 2628106
Showing
2 changed files
with
125 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters