mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fix external alert key on release
This commit is contained in:
parent
52b65fcdb2
commit
42121a2ccf
1 changed files with 3 additions and 1 deletions
|
|
@ -465,7 +465,9 @@ function alerts_api.release(entity_info, type_info, when, cur_alerts)
|
|||
end
|
||||
|
||||
else
|
||||
released = interface.releaseExternalAlert(entity_info.alert_entity.entity_id, entity_info.entity_val,
|
||||
local key = string.format("%s_%s_%s", entity_info.entity_val, type_info.alert_type.alert_key, subtype)
|
||||
|
||||
released = interface.releaseExternalAlert(entity_info.alert_entity.entity_id, entity_info.entity_val, key,
|
||||
table.unpack(params))
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue