Michał Zielonka
b54da68765
Alerting: fix validation of alertmanager template. ( #51538 )
...
without setting function map from alertmanager we receive error:
method=PUT path=/api/v1/provisioning/templates/slack.message status=400
level=error msg="invalid object specification: invalid template: template: :1: function \"toUpper\" not defined"
So for validation we should use the same settings as alertmanager do
for templates internally.
2022-07-14 11:54:08 +02:00
..
2022-05-17 14:10:20 +03:00
2022-07-14 11:54:08 +02:00
2022-07-12 15:13:04 -04:00
2022-06-04 14:55:46 +02:00
2022-06-04 14:55:46 +02:00
2022-06-14 10:17:48 +02:00
2022-06-23 15:13:39 -05:00
2022-03-14 10:39:20 +00:00
2022-06-22 10:52:46 -04:00
2022-06-22 10:52:46 -04:00
2022-07-13 17:36:17 -05:00
2022-07-13 17:36:17 -05:00
2022-06-23 15:13:39 -05:00
2022-06-30 11:46:26 -04:00
2022-06-30 11:46:26 -04:00
2022-07-13 17:36:17 -05:00
2022-07-12 16:51:32 -04:00
2022-07-13 10:21:11 -04:00
2022-07-12 15:13:04 -04:00
2022-06-22 10:52:46 -04:00
2022-07-08 16:23:18 -05:00
2022-06-23 15:13:39 -05:00
2022-02-04 12:42:04 -05:00
2022-06-23 15:13:39 -05:00
2022-06-23 15:13:39 -05:00
2022-07-13 12:34:54 +03:00
2022-06-23 15:13:39 -05:00
2022-06-23 15:13:39 -05:00
2022-06-02 14:48:53 +02:00
2022-06-23 15:13:39 -05:00
2022-07-13 12:34:54 +03:00
2022-06-23 15:13:39 -05:00
2022-06-23 15:13:39 -05:00
2022-06-27 12:23:15 -04:00
2022-05-06 15:05:02 -04:00
2022-06-27 12:23:15 -04:00
2022-06-23 15:13:39 -05:00
2021-05-25 11:54:50 -04:00
2021-05-27 14:12:29 +03:00
2022-04-13 19:31:57 -05:00
2022-04-20 16:20:17 +03:00
2022-05-06 15:05:02 -04:00