Skip to content

Commit

Permalink
chore: fix typo and indent in tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Akira Fujiu <[email protected]>
  • Loading branch information
akirafujiu committed Jan 6, 2024
1 parent 1b6e160 commit 20d42e5
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 20d42e5

Please sign in to comment.