Removed wrong assignement

This commit is contained in:
MatteoBiscosi 2021-06-25 10:59:13 +02:00
parent 6c9b183819
commit 7d264efe7b

View file

@ -782,7 +782,6 @@ function driver:query(schema, tstart, tend, tags, options)
local s = ts_common.calculateStatistics(v.data, time_step, tend - tstart, data_type)
-- Adding per timeseries min-max stats
stats.by_serie[k] = table.merge(s, ts_common.calculateMinMax(v.data))
stats.by_serie[k] = s
-- Remove the total for now as it requires a complex computation (see below)
s.total = nil