mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
added check
This commit is contained in:
parent
02df9bf01b
commit
f697b62ec5
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ local function check_redis_reads_writes_exceeded(params)
|
|||
}
|
||||
local ts = ts_utils.timeseries_query(options)
|
||||
-- Check if the day target is nan
|
||||
if not (ts.series[1].data[7] == ts.series[1].data[7]) then
|
||||
if not ts or not (ts.series[1].data[7] == ts.series[1].data[7]) then
|
||||
return
|
||||
end
|
||||
local sumr = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue