From a21bcb51137f787eaa12bdb63a1082d26d4a790f Mon Sep 17 00:00:00 2001 From: Artur Stepniewski Date: Wed, 10 Aug 2016 22:09:32 +0200 Subject: [PATCH] Fix missing title in df graphs It used data source instance name instead of plugin instance name. Signed-off-by: Artur Stepniewski --- .../luasrc/statistics/rrdtool/definitions/df.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.25.1