Skip to content

Commit

Permalink
chore: fix typo and indent in tutorial (#754)
Browse files Browse the repository at this point in the history
Signed-off-by: Akira Fujiu <fujiuakira.1006@gmail.com>
  • Loading branch information
akirafujiu authored Jan 9, 2024
1 parent 01637f0 commit 9851d4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ public void example(){

// flags defined in memory
Map<String, Flag<?>> myFlags = new HashMap<>();
flags.put("v2_enabled", Flag.builder()
.variant("on", true)
.variant("off", false)
.defaultVariant("on")
.build());
myFlags.put("v2_enabled", Flag.builder()
.variant("on", true)
.variant("off", false)
.defaultVariant("on")
.build());

// configure a provider
OpenFeatureAPI api = OpenFeatureAPI.getInstance();
Expand Down

0 comments on commit 9851d4b

Please sign in to comment.