mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Use notification_configs.get_types in place of plugins_utils.getLoadedAlertEndpoints
This commit is contained in:
parent
d55e4dc441
commit
65e06fa123
1 changed files with 1 additions and 7 deletions
|
|
@ -300,13 +300,7 @@ end
|
|||
|
||||
function notification_recipients.processNotifications(now, periodic_frequency, force_export)
|
||||
local recipients = notification_recipients.get_recipients()
|
||||
|
||||
local loaded_modules = plugins_utils.getLoadedAlertEndpoints()
|
||||
|
||||
local modules_by_name = {}
|
||||
for _, m in ipairs(loaded_modules) do
|
||||
modules_by_name[m.key] = m
|
||||
end
|
||||
local modules_by_name = notification_configs.get_types()
|
||||
|
||||
for _, recipient in pairs(recipients) do
|
||||
local module_name = recipient.endpoint_conf.endpoint_key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue