Refactors old host_pools_utils to nEdge-only host_pools_nedge

This commit is contained in:
Simone Mainardi 2020-07-16 18:17:19 +02:00
parent 012ef619da
commit c623f21ba0
17 changed files with 166 additions and 166 deletions

View file

@ -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))