mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Possible fix related to empty timeseries chart
This commit is contained in:
parent
996ea35acd
commit
b2fe708dbc
6 changed files with 29 additions and 20 deletions
|
|
@ -25,6 +25,8 @@ local epoch_end = _GET["epoch_end"]
|
|||
local if_index = _GET["if_index"]
|
||||
local profile = _GET["profile"]
|
||||
|
||||
local include_empty_ts = _GET["include_empty_ts"]
|
||||
|
||||
local res = {}
|
||||
|
||||
if ifid then
|
||||
|
|
@ -52,5 +54,5 @@ local tags = {
|
|||
epoch_end = tonumber(epoch_end)
|
||||
}
|
||||
|
||||
res = table.merge(res, timeseries_info.retrieve_specific_timeseries(tags, query))
|
||||
res = table.merge(res, timeseries_info.retrieve_specific_timeseries(tags, query, include_empty_ts))
|
||||
rest_utils.answer(rc, res)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue