From b95ac83ffd4fcf268be964002c45beba17d6e5c1 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Tue, 8 Sep 2020 08:21:55 +0300 Subject: luci-app-statistics: fix comment Update comment to reflect 'noavg' option introduced by 64bb82d03 Signed-off-by: Hannu Nyman --- .../htdocs/luci-static/resources/statistics/rrdtool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-statistics') diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js index 775db9bc3b..4c3c8da5cd 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js @@ -515,7 +515,7 @@ return baseclass.extend({ if (!gopts.rrasingle) _args.push('GPRINT:%s_min:MIN:\tMin\\: %s'.format(source.sname, numfmt)); - /* always include AVERAGE */ + /* don't include AVERAGE if noavg option is set */ if (!source.noavg) _args.push('GPRINT:%s_avg:AVERAGE:\tAvg\\: %s'.format(source.sname, numfmt)); -- cgit v1.2.3