mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Refactors old host_pools_utils to nEdge-only host_pools_nedge
This commit is contained in:
parent
012ef619da
commit
c623f21ba0
17 changed files with 166 additions and 166 deletions
|
|
@ -12,7 +12,7 @@ local json = require ("dkjson")
|
|||
local page_utils = require("page_utils")
|
||||
local format_utils = require("format_utils")
|
||||
local os_utils = require "os_utils"
|
||||
local host_pools_utils = require "host_pools_utils"
|
||||
local host_pools_nedge = require "host_pools_nedge"
|
||||
|
||||
if not haveAdminPrivileges() then
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
|
@ -30,6 +30,6 @@ end
|
|||
|
||||
sendHTTPContentTypeHeader('application/json', 'attachment; filename="pools_configuration.json"')
|
||||
|
||||
local conf = host_pools_utils.export()
|
||||
local conf = host_pools_nedge.export()
|
||||
|
||||
print(json.encode(conf, nil))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue