mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes for unbinding host pool members
This commit is contained in:
parent
693a47c84d
commit
831dcfff83
3 changed files with 3 additions and 3 deletions
|
|
@ -581,7 +581,7 @@ function base_pools:bind_member(member, pool_id)
|
|||
-- ASSIGN the member to the pool with `pool_id`
|
||||
-- Note: If the pool_id is base_pools.DEFAULT_POOL_ID, then `member` is not associated to any pool, it's safe to just return
|
||||
if not ret then
|
||||
if pool_id == base_pools.DEFAULT_POOL_ID then
|
||||
if tonumber(pool_id) == base_pools.DEFAULT_POOL_ID then
|
||||
ret = true
|
||||
else
|
||||
local bind_pool = self:get_pool(pool_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue