luci-app-statistics: fix comment

Update comment to reflect 'noavg' option introduced by 64bb82d03

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2020-09-08 08:21:55 +03:00
parent 359a7cb36d
commit b95ac83ffd

View file

@ -515,7 +515,7 @@ return baseclass.extend({
if (!gopts.rrasingle) if (!gopts.rrasingle)
_args.push('GPRINT:%s_min:MIN:\tMin\\: %s'.format(source.sname, numfmt)); _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) if (!source.noavg)
_args.push('GPRINT:%s_avg:AVERAGE:\tAvg\\: %s'.format(source.sname, numfmt)); _args.push('GPRINT:%s_avg:AVERAGE:\tAvg\\: %s'.format(source.sname, numfmt));