1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Apply suggestions from code review

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
This commit is contained in:
Thomas Heartman 2021-12-08 10:30:21 +01:00 committed by GitHub
parent a761bf2cc7
commit aef303c3b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ Whenever you create a feature toggle, you can assign it any number of _variants_
A variant has four components that define it: A variant has four components that define it:
- a **name**: - a **name**:
This must be unique among the toggle's variants. When working with a toggle with variants in a client, you will typically use variant name to find out which variant it is. This must be unique among the toggle's variants. When working with a toggle with variants in a client, you will typically use the variant's name to find out which variant it is.
- a **weight**: - a **weight**:
@ -31,7 +31,7 @@ A variant has four components that define it:
- an optional **override** - an optional **override**
Overrides let you specify that certain users (as identified either by their user ID or by another [custom stickiness](stickiness) value) will always get this variant, regardless of the variant's weighting. Overrides let you specify that certain users (as identified either by their user ID or by another [custom stickiness](stickiness) value) will always get this variant, regardless of the variant's weight.
![A form for adding new variants. It has fields for name, weight, payload, and overrides.](/img/variant-creation-form.png 'Creating a new toggle variant') ![A form for adding new variants. It has fields for name, weight, payload, and overrides.](/img/variant-creation-form.png 'Creating a new toggle variant')