Skip to content

Commit

Permalink
review suggestion added
Browse files Browse the repository at this point in the history
Signed-off-by: metonymic-smokey <[email protected]>
  • Loading branch information
metonymic-smokey committed Sep 23, 2021
1 parent 098e6c1 commit 4689efd
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cmd/thanos/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4689efd

Please sign in to comment.