mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
e0d936fc9c
commit
b5f805fce5
3 changed files with 44 additions and 3 deletions
|
|
@ -57,4 +57,15 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Call `instance:unbind_all_configset_id` for every available pools `instance`
|
||||
function pools_lua_utils.unbind_all_recipient_id(recipient_id)
|
||||
local all_instances = all_pool_instances_factory()
|
||||
|
||||
for _, instance in pairs(all_instances) do
|
||||
instance:unbind_all_recipient_id(recipient_id)
|
||||
end
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
return pools_lua_utils
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue