mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes shutting down doesn't insert alerts in CH (#7949)
This commit is contained in:
parent
2db9bd7572
commit
b970d0859e
3 changed files with 5 additions and 3 deletions
|
|
@ -462,7 +462,7 @@ function alerts_api.releaseEntityAlerts(entity_info, alerts)
|
|||
alerts = interface.getEngagedAlerts(entity_info.alert_entity.entity_id, entity_info.entity_val)
|
||||
end
|
||||
|
||||
for _, cur_alert in pairs(alerts) do
|
||||
for _, cur_alert in ipairs(alerts) do
|
||||
-- NOTE: do not pass alerts here as a parameters as deleting items while
|
||||
-- does not work in lua
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue