From 388c84fa06eb9903fb505848b7d43c9fa20a40bc Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Mon, 5 Dec 2016 16:19:37 -0500 Subject: [PATCH] app-statistics: df: Don't separate disk usage types The df plugin wasn't displaying useful lables for the space used vs free vs reserved due to title override. This patch fixes that issues by removing the per-instance setting. Signed-off-by: Daniel Dickinson --- .../luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua | 1 - 1 file changed, 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 fbc3884b4..b5633c15f 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua @@ -8,7 +8,6 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) return { title = "%H: Disk space usage on %pi", vlabel = "Bytes", - per_instance = true, number_format = "%5.1lf%sB", data = { -- 2.11.0