Skip to content

Commit

Permalink
Renames config property exclude_filters to exclude
Browse files Browse the repository at this point in the history
Fixes #289
  • Loading branch information
safaci2000 committed Sep 7, 2024
1 parent b02a854 commit caa3d19
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/importer-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ contexts:
min_length: 8
max_length: 20
connections:
exclude_filters:
filters:
- matches:
- field: "name"
regex: "DEV-*|-Dev-*"
Expand Down
2 changes: 1 addition & 1 deletion internal/config/grafana_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type MonitoredOrgFolders struct {

// ConnectionSettings contains Filters and Matching Rules for Grafana
type ConnectionSettings struct {
FilterRules []MatchingRule `mapstructure:"exclude_filters" yaml:"exclude_filters,omitempty"`
FilterRules []MatchingRule `mapstructure:"filters" yaml:"filters,omitempty"`
MatchingRules []RegexMatchesList `mapstructure:"credential_rules" yaml:"credential_rules,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion website/content/docs/gdg/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ contexts:
testing:
output_path: test/data
connections:
exclude_filters:
filters:
- field: "name"
regex: "Google Sheets"
- field: "type"
Expand Down
6 changes: 5 additions & 1 deletion website/content/docs/releases/gdg_0.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ toc: true

Release Date: TBD


### Breaking Changes
- Config: Connection settings renamed `exclude_filters' to `filters`

### Changes
- Enterprise config flag removed, future versions will programmatically determining version of grafana.
- Enterprise config flag removed, future versions will programmatically determine version of grafana.
- [#283](https://github.com/esnet/gdg/issues/283) Fixing small bug with library connections
- [#288](https://github.com/esnet/gdg/pull/288) Enterprise: Connection permission will require min. v10.2.3

Expand Down

0 comments on commit caa3d19

Please sign in to comment.