mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Do not export saved backups in the exported configuration and it produces a huge json
This commit is contained in:
parent
abb4a3e6ec
commit
fb5f442ecd
1 changed files with 7 additions and 1 deletions
|
|
@ -60,7 +60,13 @@ end
|
|||
-- @brief Export configuration
|
||||
-- @return The current configuration
|
||||
function all_import_export:export()
|
||||
return prefs_dump_utils.build_prefs_dump_table()
|
||||
local prefs_dump = prefs_dump_utils.build_prefs_dump_table()
|
||||
|
||||
-- Remove the config_save_backup key, if any,
|
||||
-- as it produces a huge json and it is not really required
|
||||
prefs_dump['ntopng.prefs.config_save_backup'] = nil
|
||||
|
||||
return prefs_dump
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue