From e9bcd1bd77575986719713bac8098ce73aa866ad Mon Sep 17 00:00:00 2001 From: pulak-opti Date: Fri, 25 Oct 2024 03:21:11 +0600 Subject: [PATCH] fix lint Signed-off-by: pulak-opti --- pkg/client/client.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/client/client.go b/pkg/client/client.go index 75a0b96f..4c9647db 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -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)