Skip to content

Commit

Permalink
Minor, updating searchWorker signature (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelewski authored Jul 14, 2024
1 parent 9782df5 commit 11f56ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quesma/quesma/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ func (q *QueryRunner) searchWorkerCommon(
}

func (q *QueryRunner) searchWorker(ctx context.Context,
aggregations []*model.Query,
queries []*model.Query,
table *clickhouse.Table,
doneCh chan<- AsyncSearchWithError,
optAsync *AsyncQuery) (translatedQueryBody [][]byte, resultRows [][]model.QueryResultRow, err error) {
Expand All @@ -624,7 +624,7 @@ func (q *QueryRunner) searchWorker(ctx context.Context,
ctx = dbQueryCtx
}

return q.searchWorkerCommon(ctx, aggregations, table)
return q.searchWorkerCommon(ctx, queries, table)
}

func (q *QueryRunner) Close() {
Expand Down

0 comments on commit 11f56ec

Please sign in to comment.