alertmanager/api
George Robinson b676fc4d2e
Add tests for create and then update silences (#3899)
This commit adds a unit test for the postSilencesHandler to
create and then update a silence. It shows that changing the
ID of an existing silence returns 404 Not Found, and removing
the ID of an existing silence re-creates that silence with
a different ID.

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-06-25 11:58:45 +01:00
..
metrics Fix version in APIv1 deprecation notice (#3815) 2024-04-23 16:16:01 +01:00
v2 Add tests for create and then update silences (#3899) 2024-06-25 11:58:45 +01:00
api.go Fix version in APIv1 deprecation notice (#3815) 2024-04-23 16:16:01 +01:00
v1_deprecation_router.go Fix version in APIv1 deprecation notice (#3815) 2024-04-23 16:16:01 +01:00