mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixed incorrect redis key (#9295)
This commit is contained in:
parent
87747eae7b
commit
386cf4c4cc
1 changed files with 2 additions and 2 deletions
|
|
@ -1272,7 +1272,7 @@ end
|
|||
-- Returns true if a system script is enabled for some hook
|
||||
function checks.isSystemScriptEnabled(script_key)
|
||||
-- Verify that the script is currently available
|
||||
local k = "ntonpng.cache.checks.available_system_modules." .. script_key
|
||||
local k = "ntopng.cache.checks.available_system_modules." .. script_key
|
||||
local available = ntop.getCache(k)
|
||||
|
||||
if (isEmptyString(available)) then
|
||||
|
|
@ -2295,7 +2295,7 @@ function checks.loadChecks()
|
|||
end
|
||||
|
||||
-- Remove the list of system scripts enabled, re-added from the checks.lua file
|
||||
deleteCachePattern("ntonpng.cache.checks.available_system_modules.*")
|
||||
deleteCachePattern("ntopng.cache.checks.available_system_modules.*")
|
||||
|
||||
-- Reload checks with their configurations
|
||||
checks.initDefaultConfig()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue