summaryrefslogtreecommitdiff
path: root/doc/development/feature_flags/controls.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-17 00:07:59 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-17 00:07:59 +0000
commit149436d2a55408accbf67f9301c0bfa3c6706fe6 (patch)
tree70f0bef042cfea7905ce92876d8af3c56fd520b6 /doc/development/feature_flags/controls.md
parent06b21ad63ca4f7d0cada7cc44b9cddbf17df2193 (diff)
downloadgitlab-ce-149436d2a55408accbf67f9301c0bfa3c6706fe6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/feature_flags/controls.md')
-rw-r--r--doc/development/feature_flags/controls.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/feature_flags/controls.md b/doc/development/feature_flags/controls.md
index 6bf5be23ace..f8f03773c12 100644
--- a/doc/development/feature_flags/controls.md
+++ b/doc/development/feature_flags/controls.md
@@ -72,8 +72,8 @@ group.
To enable a feature for 25% of the time, run the following in Slack:
```shell
-/chatops run feature set new_navigation_bar 25 --dev
-/chatops run feature set new_navigation_bar 25 --staging
+/chatops run feature set new_navigation_bar 25 --random --dev
+/chatops run feature set new_navigation_bar 25 --random --staging
```
### Enabling a feature for GitLab.com
@@ -121,7 +121,7 @@ command you make so people can understand the change if they need to.
To enable a feature for 25% of the time, run the following in Slack:
```shell
-/chatops run feature set new_navigation_bar 25
+/chatops run feature set new_navigation_bar 25 --random
```
This sets a feature flag to `true` based on the following formula: