diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-01-21 20:13:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 20:13:12 +0100 |
commit | 29c343c5ea7abbe9e81f316264800702479a90ff (patch) | |
tree | 0f10f96175ff9803d6c3ce57621423ecbd89f786 /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua | |
parent | a86c068870dea59844a282ca43885ef4fcbfa07f (diff) | |
parent | c593a210b2305f7901fcb45e0cc1810f4534164c (diff) |
Merge pull request #2473 from TDT-AG/pr/20190121-luci-app-statistics
luci-app-statistics: some code cleanup
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.lua | 19 |
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 |