luci-app-statistics: fix comment
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 8 Sep 2020 05:21:55 +0000 (08:21 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 8 Sep 2020 05:21:55 +0000 (08:21 +0300)
Update comment to reflect 'noavg' option introduced by 64bb82d03

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js

index 775db9bc3b29d39fe54ce4e5d62738b72f11921c..4c3c8da5cdedb453891420666af54e2406ed2166 100644 (file)
@@ -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));