mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fix influx memory chart and 5min script error
This commit is contained in:
parent
43078c6758
commit
1374367e9f
3 changed files with 7 additions and 4 deletions
|
|
@ -92,8 +92,11 @@ function system_scripts.runTask(task, when)
|
|||
end
|
||||
|
||||
ts_utils.newSchema = function(name, label, options)
|
||||
if(ts_utils.getSchema(name) == nil) then
|
||||
local schema = ts_utils.getSchema(name)
|
||||
if(schema == nil) then
|
||||
return old_new_schema_fn(name, table.merge(default_schema_options, options))
|
||||
else
|
||||
return(schema)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue