f3d9c89bbc
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> |
||
---|---|---|
.. | ||
models | ||
restapi | ||
api.go | ||
api_test.go | ||
openapi.yaml |