-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get parameter value for rollout without side effects. (#5710)
The `getString(String parameterKey)` method calls listeners as a side-effect, which isn't the behavior we want when `activate()` is called and Rollouts are published. This duplicates the `getString` method without the side-effects (as well as a helper method to access the cache). Alternatively we could duplicate this method _within_ `ConfigGetParameterHandler`, but it'd have to be `public` which implies other callers should use it (they shouldn't - there's no other use case besides Rollouts). Google internal: b/324275156
- Loading branch information
1 parent
6a97c30
commit 1140948
Showing
5 changed files
with
112 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters