mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Refactors user_scripts method names
This commit is contained in:
parent
c291fe91c9
commit
4e96ae7e26
6 changed files with 7 additions and 7 deletions
|
|
@ -685,7 +685,7 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function user_scripts.runScripts()
|
||||
function user_scripts.runPeriodicScripts()
|
||||
local requested = {}
|
||||
for granularity, _ in pairs(alert_consts.alerts_granularities) do
|
||||
local k = string.format(REQUEST_PERIODIC_USER_SCRIPTS_RUN_KEY, interface.getId(), granularity)
|
||||
|
|
@ -705,7 +705,7 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function user_scripts.runPeriodicScripts(granularity)
|
||||
function user_scripts.schedulePeriodicScripts(granularity)
|
||||
if alert_consts.alerts_granularities[granularity] then
|
||||
local k = string.format(REQUEST_PERIODIC_USER_SCRIPTS_RUN_KEY, interface.getId(), granularity)
|
||||
ntop.setCache(k, "1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue