Rename system_utils.lua -> cpu_utils.lua to avoid confusion

This commit is contained in:
Alfredo Cardigliano 2020-11-17 12:41:06 +01:00
parent 55993e8d9b
commit 8e62a71eee
9 changed files with 23 additions and 23 deletions

View file

@ -10,7 +10,7 @@ local json = require ("dkjson")
local page_utils = require("page_utils")
local tracker = require("tracker")
local storage_utils = require("storage_utils")
local system_utils = require("system_utils")
local cpu_utils = require("cpu_utils")
local rest_utils = require("rest_utils")
--
@ -27,7 +27,7 @@ if not isAllowedSystemInterface() then
end
local rc = rest_utils.consts.success.ok
local res = system_utils.systemHostStats()
local res = cpu_utils.systemHostStats()
res.epoch = os.time()
res.storage = storage_utils.storageInfo()