mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implement alert release
This commit is contained in:
parent
e78039c2f2
commit
2df194a282
12 changed files with 205 additions and 56 deletions
|
|
@ -12,7 +12,7 @@ local test_failed_alert = alerts:newAlert({
|
|||
})
|
||||
|
||||
local function test_error(msg)
|
||||
test_failed_alert:emit("test", msg)
|
||||
test_failed_alert:trigger("test", msg)
|
||||
end
|
||||
|
||||
local function test_assert(cond, error_msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue