mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +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
|
|
@ -547,7 +547,7 @@ function alerts_api.checkThresholdAlert(params, alert_type, value)
|
|||
local threshold_config = params.user_script_config
|
||||
local alarmed = false
|
||||
|
||||
local threshold_type = alert_type.builder(
|
||||
local threshold_type = alert_type.create(
|
||||
alert_consts.alert_severities.error,
|
||||
script.key,
|
||||
alert_consts.alerts_granularities[params.granularity],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue