alertmanager/api
pasquier-s 382a0d8089 api: support zero StartsAt for alerts (#1238)
When the API receives alerts where StartsAt is zero, it updates the
value to EndsAt (if not zero itself) or "now". This ensures that the
alert validation will not fail since StartsAt has to be less than or
equal to EndsAt.
2018-02-13 16:26:34 +01:00
..
api_test.go api: support zero StartsAt for alerts (#1238) 2018-02-13 16:26:34 +01:00
api.go api: support zero StartsAt for alerts (#1238) 2018-02-13 16:26:34 +01:00