Skip to content

Commit

Permalink
Make response code a success even when no experiments are selected (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Feb 10, 2023
1 parent 8e222b6 commit 4e4b099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/turing/runner/experiment_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func (er *experimentRunner) GetTreatmentForRequest(

// Fetch treatment
if filteredExperiment == nil {
statusCode = http.StatusOK
return &runner.Treatment{
Config: nil,
}, nil
Expand Down

0 comments on commit 4e4b099

Please sign in to comment.