mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
parent
cd6af05134
commit
8a6392cd23
1 changed files with 1 additions and 1 deletions
|
|
@ -1087,7 +1087,7 @@ function http_lint.validateHookConfig(script, hook, value)
|
|||
local mandatory_fields = {}
|
||||
|
||||
if(input_builder == "threshold_cross") then
|
||||
if(not validateOperator(conf.operator)) then
|
||||
if(value.enabled and (not validateOperator(conf.operator))) then
|
||||
return false, "bad operator"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue