mirror of
https://github.com/prometheus/alertmanager.git
synced 2026-02-05 15:45:34 +01:00
* MockWebhook: track shutdown status more gracefully When we close the server sometimes the messages are interrupted and can't be decoded by the webhook. This change accepts any decoding failure after server shutdown. Signed-off-by: Guido Trotter <guido@hudson-trading.com> * Call NewWebhook passing 't', and protect against nil cmd in Terminate Signed-off-by: Guido Trotter <guido@hudson-trading.com> --------- Signed-off-by: Guido Trotter <guido@hudson-trading.com> Co-authored-by: Guido Trotter <guido@hudson-trading.com>