mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Update manage backup configurations. (#5780)
This commit is contained in:
parent
ed2bf419bd
commit
cc27befcfa
7 changed files with 251 additions and 18 deletions
|
|
@ -18,7 +18,12 @@ local rc = rest_utils.consts.success.ok
|
|||
local epoch_list = backup_config.list_backup()
|
||||
|
||||
if epoch_list then
|
||||
rest_utils.answer(rc, epoch_list)
|
||||
local extra_rsp_data = {
|
||||
["recordsFiltered"] = tonumber(#epoch_list),
|
||||
["recordsTotal"] = tonumber(#epoch_list)
|
||||
}
|
||||
|
||||
rest_utils.extended_answer(rc, epoch_list, extra_rsp_data)
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue