Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: pulak-opti <[email protected]>
  • Loading branch information
pulak-opti committed Oct 24, 2024
1 parent 1e7d272 commit e9bcd1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,10 @@ func (o *OptimizelyClient) findRegularDecision(decisionContext decision.FeatureD
for _, featureExperiment := range decisionContext.Feature.FeatureExperiments {
decisionKey := decision.NewUserDecisionKey(featureExperiment.ID)

fx := featureExperiment
experimentDecisionContext := decision.ExperimentDecisionContext{
ProjectConfig: decisionContext.ProjectConfig,
Experiment: &featureExperiment,
Experiment: &fx,
}

expDecision, reasons, err := decision.NewExperimentWhitelistService().GetDecision(experimentDecisionContext, userContext, options)
Expand Down

0 comments on commit e9bcd1b

Please sign in to comment.