Commit 24af8e6d authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'docs-remove-extra-character-from-feature-flag-example-code' into 'master'

Remove extra ] from feature flag code sample

See merge request gitlab-org/gitlab!38943
parents d86379c8 26ae1306
......@@ -140,7 +140,7 @@ run the following in Slack:
This sets a feature flag to `true` based on the following formula:
```ruby
feature_flag_state = Zlib.crc32("some_feature<Actor>:#{actor.id}") % (100 * 1_000) < 25 * 1_000]
feature_flag_state = Zlib.crc32("some_feature<Actor>:#{actor.id}") % (100 * 1_000) < 25 * 1_000
# where <Actor>: is a `User`, `Group`, `Project` and actor is an instance
```
......
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