Migrates alerts to an object-oriented implementation

This commit is contained in:
Matteo Biscosi 2020-12-23 10:55:53 +01:00
parent f412783c12
commit 101c53336e
30 changed files with 970 additions and 910 deletions

View file

@ -30,7 +30,7 @@ alert_unexpected_ntp_server.meta = {
-- @param one_flow_param The first alert param
-- @param another_flow_param The second alert param
-- @return A table with the alert built
function alert_unexpected_ntp_server:init(one_flow_param, another_flow_param)
function alert_unexpected_ntp_server:init(client_ip, server_ip)
-- Call the parent constructor
self.super:init()