alertmanager/api
beorn7 f3d9c89bbc Create a `Muter` implementation for silences
This encapsulates the logic of querying and marking silenced
alerts. It removes the code duplication flagged earlier.

I removed the error returned by the setAlertStatus function as we were
only logging it, and that's already done anyway when the error is
received from the `silence.Query` call (now in the `Mutes` method).

Signed-off-by: beorn7 <beorn@soundcloud.com>
2019-02-26 16:42:59 +01:00
..
v1 Merge pull request #1744 from mxinden/introduce-config-coordinator 2019-02-25 12:01:46 +01:00
v2 Create a `Muter` implementation for silences 2019-02-26 16:42:59 +01:00
api.go Create a `Muter` implementation for silences 2019-02-26 16:42:59 +01:00