alertmanager/cmd
George Robinson 404a4afa11 Support Noop limits for silences
This commit changes how limits work for silences. Instead of checking
if a limit is non-nil, it instead adds support for a set of no-op
limits called NoopLimits.

It changes the limits in Options and Silences from Limits to *Limits
because Go cannot do comparisons on structs containing function
values, so we must use a nil check to see if limits are set in the
options or not.

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-06-25 15:14:47 +01:00
..
alertmanager Support Noop limits for silences 2024-06-25 15:14:47 +01:00
amtool *: add missing license headers 2018-05-14 17:37:13 +02:00