mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added datasource extraction check
This commit is contained in:
parent
370c7bb8ec
commit
eb2c2dd47a
3 changed files with 17 additions and 9 deletions
|
|
@ -122,6 +122,8 @@ end
|
|||
|
||||
-- Return the data
|
||||
function datamodel:getData(transformation, dataset_name)
|
||||
transformation = string.lower(transformation)
|
||||
|
||||
if(transformation == "table") then
|
||||
return(self:getAsTable())
|
||||
elseif(transformation == "donut") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue