Fix influx memory chart and 5min script error

This commit is contained in:
emanuele-f 2019-06-07 20:59:32 +02:00
parent 43078c6758
commit 1374367e9f
3 changed files with 7 additions and 4 deletions

View file

@ -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