mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Refactors alrt builders into creators
Refactors builders into creators: calls
This commit is contained in:
parent
00c5e9f909
commit
290175b16f
75 changed files with 158 additions and 158 deletions
|
|
@ -9,7 +9,7 @@ local alert_keys = require "alert_keys"
|
|||
-- @brief Prepare an alert table used to generate the alert
|
||||
-- @param alert_severity A severity as defined in `alert_consts.alert_severities`
|
||||
-- @return A table with the alert built
|
||||
local function buildWebMining(alert_severity)
|
||||
local function createWebMining(alert_severity)
|
||||
local built = {
|
||||
alert_severity = alert_severity,
|
||||
alert_type_params = {
|
||||
|
|
@ -25,5 +25,5 @@ return {
|
|||
alert_key = alert_keys.ntopng.alert_web_mining,
|
||||
i18n_title = "alerts_dashboard.web_mining",
|
||||
icon = "fab fa-bitcoin",
|
||||
builder = buildWebMining,
|
||||
creator = createWebMining,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue