mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes nils in start/stop ntopng process alerts
This commit is contained in:
parent
06724ea8e8
commit
1ca6effc02
1 changed files with 2 additions and 2 deletions
|
|
@ -42,9 +42,9 @@ end
|
|||
|
||||
function alert_process_notification.format(ifid, alert, alert_type_params)
|
||||
if alert_type_params.event_type == "start" then
|
||||
return string.format("%s %s", i18n("alert_messages.start"), alert_type_params.msg_details)
|
||||
return string.format("%s %s", i18n("alert_messages.ntopng_start"), alert_type_params.msg_details)
|
||||
elseif alert_type_params.event_type == "stop" then
|
||||
return string.format("%s %s", i18n("alert_messages.stop"), alert_type_params.msg_details)
|
||||
return string.format("%s %s", i18n("alert_messages.ntopng_stop"), alert_type_params.msg_details)
|
||||
elseif alert_type_params.event_type == "update" then
|
||||
return string.format("%s %s", i18n("alert_messages.update"), alert_type_params.msg_details)
|
||||
elseif alert_type_params.event_type == "anomalous_termination" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue