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

@ -10,10 +10,10 @@ local alert_consts = require "alert_consts"
local syslog = {
name = "Syslog",
conf_max_num = 1, -- At most 1 endpoint
conf_params = {
endpoint_params = {
{ param_name = "syslog_alert_format" },
},
conf_template = {
endpoint_template = {
plugin_key = "syslog_alert_endpoint",
template_name = "syslog_endpoint.template"
},