Started fixing rest Documentation and postman collection creation (#8987)

This commit is contained in:
GabrieleDeri 2025-02-24 11:46:44 +01:00 committed by GitHub
parent 4c611cf661
commit fe18eff11d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 147 additions and 44 deletions

View file

@ -37,7 +37,7 @@ function pools_rest_utils.add_pool(pools)
-- Create an instance out of the `pools` passed as argument
local s = pools:create()
-- Too many pools created for this version
-- Too many pools created for this ntopng version
if s:get_num_pools() >= s:get_max_num_pools() then
if ntop.isEnterpriseM() then
rest_utils.answer(rest_utils.consts.err.add_pool_failed_too_many_pools_enterprise)