Reworks plugin template definition keys

Implements #4651
This commit is contained in:
Simone Mainardi 2020-11-03 18:09:29 +01:00
parent d9b16e7fc4
commit 2849267af8
13 changed files with 72 additions and 72 deletions

View file

@ -9,12 +9,12 @@ local alert_utils = require "alert_utils"
local slack = {
name = "Slack",
conf_params = {
endpoint_params = {
{ param_name = "slack_sender_username" },
{ param_name = "slack_webhook" },
-- TODO: add severity (Errors, Errors and Warnings, All)
},
conf_template = {
endpoint_template = {
plugin_key = "slack_alert_endpoint",
template_name = "slack_endpoint.template"
},