summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc
diff options
context:
space:
mode:
authorArtur Stepniewski <artur.stepniewski@gmail.com>2016-08-10 22:09:32 +0200
committerArtur Stepniewski <artur.stepniewski@gmail.com>2016-08-11 01:07:16 +0200
commita21bcb51137f787eaa12bdb63a1082d26d4a790f (patch)
tree6919e9042dc6cc897979a2321f78676efe88cc43 /applications/luci-app-statistics/luasrc
parent6a11f71758e151d85eaf1bb611808f2420717ef7 (diff)
Fix missing title in df graphs
It used data source instance name instead of plugin instance name. Signed-off-by: Artur Stepniewski <artur.stepniewski+openwrt@gmail.com>
Diffstat (limited to 'applications/luci-app-statistics/luasrc')
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua
index 6266ff3ba..fbc3884b4 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua
@@ -6,7 +6,7 @@ module("luci.statistics.rrdtool.definitions.df", package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
- title = "%H: Disk space usage on %di",
+ title = "%H: Disk space usage on %pi",
vlabel = "Bytes",
per_instance = true,
number_format = "%5.1lf%sB",