alertmanager/test
Simon Pasquier b7d891cf39 notify: notify resolved alerts properly (#1408)
* notify: notify resolved alerts properly

The PR #1205 while fixing an existing issue introduced another bug when
the send_resolved flag of the integration is set to true.

With send_resolved set to false, the semantics remain the same:
AlertManager generates a notification when new firing alerts are added
to the alert group. The notification only carries firing alerts.

With send_resolved set to true, AlertManager generates a notification
when new firing or resolved alerts are added to the alert group. The
notification carries both the firing and resolved notifications.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Fix comments

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-06-08 11:37:38 +02:00
..
acceptance notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00
acceptance.go Split cli package (#1314) 2018-04-11 11:17:41 +02:00
collector.go test: enable race detection (#1262) 2018-02-27 18:18:53 +01:00
mock.go test: enable race detection (#1262) 2018-02-27 18:18:53 +01:00