Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Ensure secondary environments use correct mobile key #347

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

keelerm84
Copy link
Member

No description provided.

@keelerm84 keelerm84 requested a review from a team March 1, 2024 16:43
Copy link

This pull request has been linked to Shortcut Story #234739: Fix secondary mobile key evaluation.

@@ -783,7 +783,7 @@ public class LDClient {

private init(serviceFactory: ClientServiceCreating, configuration: LDConfig, startContext: LDContext?, completion: (() -> Void)? = nil) {
self.serviceFactory = serviceFactory
environmentReporter = self.serviceFactory.makeEnvironmentReporter()
environmentReporter = self.serviceFactory.makeEnvironmentReporter(config: configuration)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -797,7 +797,7 @@ public class LDClient {
context = AutoEnvContextModifier(environmentReporter: environmentReporter, logger: config.logger).modifyContext(context)
}

service = self.serviceFactory.makeDarklyServiceProvider(context: context, envReporter: environmentReporter)
service = self.serviceFactory.makeDarklyServiceProvider(config: config, context: context, envReporter: environmentReporter)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@keelerm84 keelerm84 merged commit e92054c into v9 Mar 1, 2024
4 checks passed
@keelerm84 keelerm84 deleted the mk/sc-234739/secondary branch March 1, 2024 17:37
@github-actions github-actions bot mentioned this pull request Mar 1, 2024
keelerm84 pushed a commit that referenced this pull request Mar 1, 2024
🤖 I have created a release *beep* *boop*
---


##
[9.4.1](9.4.0...9.4.1)
(2024-03-01)


### Bug Fixes

* Ensure secondary environments use correct mobile key
([#347](#347))
([e92054c](e92054c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: LaunchDarklyReleaseBot <LaunchDarklyReleaseBot@launchdarkly.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants