Merge pull request #2473 from TDT-AG/pr/20190121-luci-app-statistics
[project/luci.git] / applications / luci-app-statistics / luasrc / statistics / rrdtool / definitions / apcups.lua
index 9f7a51a868c14104fb23d268fd14249515242cf7..37055f5861576f42f339e68843263bcf6c984fde 100644 (file)
@@ -19,8 +19,7 @@ function rrdargs( graph, plugin, plugin_instance )
                ups_inst[t] = graph.tree:data_instances( plugin, plugin_instance, t )
        end
 
-
-    -- Check if hash table or array is empty or nil-filled
+       -- Check if hash table or array is empty or nil-filled
 
        local function empty( t )
                for _, v in pairs(t) do
@@ -57,8 +56,8 @@ function rrdargs( graph, plugin, plugin_instance )
        end
 
 
-    -- Graph definitions for APC UPS measurements MUST use only 'instances':
-    -- e.g. instances = { voltage = {  "input", "output" } }
+       -- Graph definitions for APC UPS measurements MUST use only 'instances':
+       -- e.g. instances = { voltage = {  "input", "output" } }
 
        local voltagesdc = {
                title = "%H: Voltages on APC UPS - Battery",