mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix alert release severity error
This commit is contained in:
parent
93a3cb9b7e
commit
fd45a9237a
1 changed files with 1 additions and 0 deletions
|
|
@ -409,6 +409,7 @@ function alerts_api.releaseEntityAlerts(entity_info, alerts)
|
|||
for _, alert in pairs(alerts) do
|
||||
alerts_api.release(entity_info, {
|
||||
alert_type = alert_consts.alert_types[alertTypeRaw(alert.alert_type)],
|
||||
alert_severity = alert_consts.alert_severities[alertSeverityRaw(alert.alert_severity)],
|
||||
alert_subtype = alert.alert_subtype,
|
||||
alert_granularity = alert_consts.alerts_granularities[sec2granularity(alert.alert_granularity)],
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue