mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
96e9874929
commit
6638f66543
4 changed files with 50 additions and 3 deletions
|
|
@ -28,6 +28,7 @@ rest_utils.consts_add_pool_failed = -13
|
|||
rest_utils.consts_edit_pool_failed = -14
|
||||
rest_utils.consts_delete_pool_failed = -15
|
||||
rest_utils.consts_pool_not_found = -16
|
||||
rest_utils.consts_bind_pool_member_failed = -17
|
||||
|
||||
local rc_str_consts = {
|
||||
[rest_utils.consts_ok] = "OK",
|
||||
|
|
@ -47,6 +48,7 @@ local rc_str_consts = {
|
|||
[rest_utils.consts_edit_pool_failed] = "EDIT_POOL_FAILED",
|
||||
[rest_utils.consts_delete_pool_failed] = "DELETE_POOL_FAILED",
|
||||
[rest_utils.consts_pool_not_found] = "POOL_NOT_FOUND",
|
||||
[rest_utils.consts_bind_pool_member_failed] = "BIND_POOL_MEMBER_FAILED",
|
||||
}
|
||||
|
||||
function rest_utils.rc(ret_code, response)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue