Commit 6ca5ad1d authored by Rubén Dávila's avatar Rubén Dávila

Feature flags should be created with underscores

parent 6d2c6d34
...@@ -128,7 +128,7 @@ a YAML definition in `config/feature_flags` or `ee/config/feature_flags`. ...@@ -128,7 +128,7 @@ a YAML definition in `config/feature_flags` or `ee/config/feature_flags`.
Only feature flags that have a YAML definition file can be used when running the development or testing environments. Only feature flags that have a YAML definition file can be used when running the development or testing environments.
```shell ```shell
$ bin/feature-flag my-feature-flag $ bin/feature-flag my_feature_flag
>> Specify the group introducing the feature flag, like `group::apm`: >> Specify the group introducing the feature flag, like `group::apm`:
?> group::memory ?> group::memory
...@@ -140,9 +140,9 @@ https://gitlab.com/gitlab-org/gitlab/-/issues/new?issue%5Btitle%5D=%5BFeature+fl ...@@ -140,9 +140,9 @@ https://gitlab.com/gitlab-org/gitlab/-/issues/new?issue%5Btitle%5D=%5BFeature+fl
>> URL of the rollout issue (enter to skip): >> URL of the rollout issue (enter to skip):
?> https://gitlab.com/gitlab-org/gitlab/-/issues/232533 ?> https://gitlab.com/gitlab-org/gitlab/-/issues/232533
create config/feature_flags/development/test-flag.yml create config/feature_flags/development/my_feature_flag.yml
--- ---
name: test-flag name: my_feature_flag
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/38602 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/38602
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/232533 rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/232533
group: group::memory group: group::memory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment