From: Hannu Nyman Date: Tue, 8 Sep 2020 05:21:55 +0000 (+0300) Subject: luci-app-statistics: fix comment X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b95ac83ffd4fcf268be964002c45beba17d6e5c1;p=openwrt-luci.git luci-app-statistics: fix comment Update comment to reflect 'noavg' option introduced by 64bb82d03 Signed-off-by: Hannu Nyman --- 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));