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>
This commit is contained in:
Artur Stepniewski 2016-08-10 22:09:32 +02:00
parent 6a11f71758
commit a21bcb5113

View 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",