-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix parsing of grafana feature flags that're enabled via the feature_…
…toggles.enabled syntax (#2477) # What this PR does Grafana provides two methods for enabling feature flags: - `feature_toggles.enabled` - `feature_toggles.<name_of_feature_flag>` For example, to enable `accessControlOnCall` you could either do: ```json { "feature_toggles": { "enabled": "accessControlOnCall,someOtherCoolFeatureFlag" } } ``` or: ```json { "feature_toggles": { "accessControlOnCall": true, "someOtherCoolFeatureFlag": true } } ``` In method 1, if they're multiple feature flags present, they are _comma separated, not space separated_. This PR fixes this parsing issue. ## Checklist - [x] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) (N/A) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required)
- Loading branch information
1 parent
f84587f
commit 182f18d
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters