Fix missing title in df graphs 770/head
authorArtur Stepniewski <artur.stepniewski@gmail.com>
Wed, 10 Aug 2016 20:09:32 +0000 (22:09 +0200)
committerArtur Stepniewski <artur.stepniewski@gmail.com>
Wed, 10 Aug 2016 23:07:16 +0000 (01:07 +0200)
It used data source instance name instead of plugin instance name.

Signed-off-by: Artur Stepniewski <artur.stepniewski+openwrt@gmail.com>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua

index 6266ff3ba5affd89d3236167cf854b0b8a3aaaa6..fbc3884b46d017dfdd369b6cec58682bf3ef262a 100644 (file)
@@ -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",