Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 30be815

Browse files
authored
A/B - fix sync search (#957)
It fixes A/B testing sync searches.
1 parent 362eed8 commit 30be815

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

quesma/quesma/search_ab_testing.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ func (q *QueryRunner) executePlanElastic(ctx context.Context, plan *model.Execut
208208
err = response.err
209209
sendABResult(nil, err)
210210
return nil, err
211+
} else {
212+
responseBody, err = response.response.Bytes()
211213
}
212214

213215
pushSecondaryInfo(q.quesmaManagementConsole, id, "", path, bodyAsBytes, response.translatedQueryBody, responseBody, plan.StartTime)

0 commit comments

Comments
 (0)