summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-01-21 14:05:57 +0100
committerFlorian Eckert <fe@dev.tdt.de>2019-01-21 14:42:01 +0100
commitd78f79a404db4610a9a92ca44e9258a02ee4a53c (patch)
tree715494a3139fcd84c78d4e28dcbfb3fa15d60167 /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua
parenta86c068870dea59844a282ca43885ef4fcbfa07f (diff)
luci-app-statistics: fix whitespaces in rrdtool definitions
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua')
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua19
1 files changed, 9 insertions, 10 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua
index 077ec57e83..a50e78491f 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua
@@ -13,15 +13,14 @@ module("luci.statistics.rrdtool.definitions.uptime", package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
- return {
- title = "%H: Uptime", vlabel = "seconds",
- number_format = "%5.0lf%s", data = {
- types = { "uptime" },
- options = {
- uptime = { title = "Uptime %di", noarea = true }
- }
- }
- }
-
+ return {
+ title = "%H: Uptime", vlabel = "seconds",
+ number_format = "%5.0lf%s", data = {
+ types = { "uptime" },
+ options = {
+ uptime = { title = "Uptime %di", noarea = true }
+ }
+ }
+ }
end