mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes lua nil-call exception upon InfluxDB errors
Fixes WARNING: Script failure [/home/simone/ntopng/scripts/callbacks/system/timeseries.lua][/home/simone/ntopng/scripts/lua/modules/alerts_api.lua:223: attempt to call a nil value (global 'alertEntity')]
This commit is contained in:
parent
e363e56e23
commit
3a5de882fe
2 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ local json = require("dkjson")
|
|||
local os_utils = require("os_utils")
|
||||
local alerts_api = require("alerts_api")
|
||||
require("ntop_utils")
|
||||
require "alert_utils"
|
||||
|
||||
--
|
||||
-- Sample query:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue