mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29: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
|
|
@ -2,9 +2,9 @@
|
|||
-- (C) 2013-19 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
local json = require("dkjson")
|
||||
local alert_endpoints = require("alert_endpoints_utils")
|
||||
local alert_consts = require("alert_consts")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue