mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Minor fix
This commit is contained in:
parent
acd776ce55
commit
771e690397
1 changed files with 1 additions and 2 deletions
|
|
@ -440,8 +440,7 @@ function alerts.load_check_modules(subdir, str_granularity)
|
|||
local check_module = require(modname)
|
||||
|
||||
if check_module.check_function then
|
||||
if check_module.granularity then
|
||||
|
||||
if check_module.granularity and str_granularity then
|
||||
-- When the module specify one or more granularities
|
||||
-- at which checks have to be run, the module is only
|
||||
-- loaded after checking the granularity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue