From ead0933dd9065602e234ae907eee17a6dd208601 Mon Sep 17 00:00:00 2001 From: AllenZMC Date: Thu, 1 Aug 2019 22:44:38 +0800 Subject: [PATCH] fix word 'substracting' to 'subtracting' (#5822) Signed-off-by: czm --- promql/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promql/engine.go b/promql/engine.go index b37206fca8..bdc9883bab 100644 --- a/promql/engine.go +++ b/promql/engine.go @@ -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)