mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 08:50:12 +00:00
Fixes attempt to index a nil value (local 'entity_info')
Implements #3815
This commit is contained in:
parent
ec4a71ff0a
commit
38f64e0a72
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ end
|
|||
|
||||
function am_utils.releaseAlert(numeric_ip, ip_label, current_value, upper_threshold, granularity)
|
||||
local entity_info = alerts_api.amThresholdCrossEntity(ip_label)
|
||||
local type_info = amThresholdCrossType(current_value, upper_threshold, numeric_ip, granularity)
|
||||
local type_info = amThresholdCrossType(current_value, upper_threshold, numeric_ip, granularity, entity_info)
|
||||
|
||||
return alerts_api.release(entity_info, type_info)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue