mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Improves use of classes for user script templates
This commit is contained in:
parent
1dd93e7845
commit
33d035b96c
8 changed files with 24 additions and 25 deletions
|
|
@ -1281,7 +1281,7 @@ function user_scripts.updateScriptConfig(confid, script_key, subdir, new_config,
|
|||
end
|
||||
|
||||
if conf.enabled then
|
||||
valid, rv_or_err = script.template:parseConfig(script, conf.script_conf)
|
||||
valid, rv_or_err = script.template:parseConfig(conf.script_conf)
|
||||
else
|
||||
-- Assume the config is valid when the script is disabled to simplify the check
|
||||
valid = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue