summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-09-08 08:21:55 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2020-09-08 08:21:55 +0300
commitb95ac83ffd4fcf268be964002c45beba17d6e5c1 (patch)
tree85ed884692f07fc3c0c48d095fb2aa25a4dc6d12 /applications
parent359a7cb36d5f1616ccfa3e0d78c2acf4bc428b80 (diff)
luci-app-statistics: fix comment
Update comment to reflect 'noavg' option introduced by 64bb82d03 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js2
1 files changed, 1 insertions, 1 deletions
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 775db9bc3..4c3c8da5c 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));