mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Return 0 filled points instead of nil when no data is available on InfluxDB
This behaviour makes InfluxDB consistent with the RRD driver
This commit is contained in:
parent
78a457e731
commit
f82a8e9767
9 changed files with 99 additions and 58 deletions
|
|
@ -1767,14 +1767,6 @@ function get_version_update_msg(info, latest_version)
|
|||
end
|
||||
end
|
||||
|
||||
function table.empty(table)
|
||||
if(table == nil) then return true end
|
||||
if next(table) == nil then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
function table.len(table)
|
||||
local count = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue