Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Julian <[email protected]>
  • Loading branch information
kylejuliandev committed Jan 21, 2025
1 parent 7ff97d0 commit 6d1ff88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ services.AddOpenFeature(builder =>
{
// Resolve services or configurations as needed
var configuration = provider.GetRequiredService<IConfiguration>();
var variants = new Dictionary<string, bool> { { "on", configuration.GetValue<bool>("FeatureFlags:Key") } };
var variants = new Dictionary<string, bool> { { "on", true } };
var flags = new Dictionary<string, Flag>
{
{ "feature-key", new Flag<bool>(variants, "on") }
Expand Down

0 comments on commit 6d1ff88

Please sign in to comment.