We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f508b73 commit a6db9b5Copy full SHA for a6db9b5
1 file changed
pkg/optimizely/cache.go
@@ -318,8 +318,8 @@ func defaultLoader(
318
// Configure CMAB prediction endpoint from environment variable
319
// This allows FSC tests to override the endpoint by setting OPTIMIZELY_CMAB_PREDICTIONENDPOINT
320
if cmabEndpoint := os.Getenv("OPTIMIZELY_CMAB_PREDICTIONENDPOINT"); cmabEndpoint != "" {
321
- // Set the global variable that go-sdk uses (same pattern as go-sdk FSC tests)
322
- cmab.CMABPredictionEndpoint = cmabEndpoint + "/%s"
+ // Set the global variable that go-sdk uses (FSC already includes the /%s format)
+ cmab.CMABPredictionEndpoint = cmabEndpoint
323
log.Info().Str("endpoint", cmabEndpoint).Msg("Using custom CMAB prediction endpoint")
324
}
325
0 commit comments