diff --git a/cmd/thanos/query.go b/cmd/thanos/query.go index 259b40f29a..50884810e4 100644 --- a/cmd/thanos/query.go +++ b/cmd/thanos/query.go @@ -477,13 +477,8 @@ func runQuery( cancelRun() }) - if enableAtModifier { - engineOpts.EnableAtModifier = true - } - - if enableNegativeOffset { - engineOpts.EnableNegativeOffset = true - } + engineOpts.EnableAtModifier = enableAtModifier + engineOpts.EnableNegativeOffset = enableNegativeOffset ctxUpdate, cancelUpdate := context.WithCancel(context.Background()) g.Add(func() error {