Skip to content

Commit

Permalink
docs: fixed typo (#319)
Browse files Browse the repository at this point in the history
Signed-off-by: James Milligan <james@omnant.co.uk>
  • Loading branch information
james-milligan authored Jan 25, 2023
1 parent ad25388 commit 1bfb321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/flag_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Example:

### Variants

`variants` is a **required** property. It is an object containing the possible variations supported by the flag. All the values of the object **must** but the same type (e.g. boolean, numbers, string, JSON). The type used as the variant value will correspond directly affects how the flag is accessed. For example, to use a flag configured with boolean values the `/schema.v1.Service/ResolveBoolean` path should be used. If another path such as `/schema.v1.Service/ResolveString` is called, a type mismatch occurred and an error is returned.
`variants` is a **required** property. It is an object containing the possible variations supported by the flag. All the values of the object **must** be the same type (e.g. boolean, numbers, string, JSON). The type used as the variant value will correspond directly affects how the flag is accessed. For example, to use a flag configured with boolean values the `/schema.v1.Service/ResolveBoolean` path should be used. If another path such as `/schema.v1.Service/ResolveString` is called, a type mismatch occurred and an error is returned.

Example:

Expand Down

1 comment on commit 1bfb321

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Go Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.

Benchmark suite Current: 1bfb321 Previous: f9bf974 Ratio
BenchmarkResolveFloatValue/test_targetingFloatFlag 17805 ns/op 4841 B/op 82 allocs/op 13650 ns/op 4841 B/op 82 allocs/op 1.30
BenchmarkResolveObjectValue/test_targetingObjectFlag 24357 ns/op 6106 B/op 104 allocs/op 17588 ns/op 6106 B/op 104 allocs/op 1.38

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.