From: Artur Stepniewski Date: Wed, 10 Aug 2016 20:09:32 +0000 (+0200) Subject: Fix missing title in df graphs X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a21bcb51137f787eaa12bdb63a1082d26d4a790f;p=oweals%2Fluci.git Fix missing title in df graphs It used data source instance name instead of plugin instance name. Signed-off-by: Artur Stepniewski --- 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",