mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-06 05:50:10 +00:00
3ffe6cfdc8
* api/v2: sort silences similarly to v1 api Sort the queried silences to match behaviour in the v1 api. Sort silences in-place instead of creating multiple slices. Use separate function for sorting silences for easier testing. Add unit test for sort order. Signed-off-by: Paul Gier <pgier@redhat.com> |
||
---|---|---|
.. | ||
models | ||
restapi | ||
api_test.go | ||
api.go | ||
openapi.yaml |