fix word 'substracting' to 'subtracting' (#5822)

Signed-off-by: czm <zhongming.chang@daocloud.io>
pull/5823/head
AllenZMC 2019-08-01 22:44:38 +08:00 committed by Brian Brazil
parent a9dea68ee6
commit ead0933dd9
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ func (ng *Engine) populateSeries(ctx context.Context, q storage.Queryable, s *Ev
// We need to make sure we select the timerange selected by the subquery.
// TODO(gouthamve): cumulativeSubqueryOffset gives the sum of range and the offset
// we can optimise it by separating out the range and offsets, and substracting the offsets
// we can optimise it by separating out the range and offsets, and subtracting the offsets
// from end also.
subqOffset := ng.cumulativeSubqueryOffset(path)
offsetMilliseconds := durationMilliseconds(subqOffset)