Skip to content

fix: replace deprecated tag field in config example#1047

Open
james00012 wants to merge 2 commits intomasterfrom
jk/fix-config-example
Open

fix: replace deprecated tag field in config example#1047
james00012 wants to merge 2 commits intomasterfrom
jk/fix-config-example

Conversation

@james00012
Copy link
Contributor

Summary

  • Replaced all 232 occurrences of the deprecated tag: test field with the correct tags: map syntax in config/examples/complete.yaml
  • The tag and tag_value fields were removed from FilterRule in a recent refactor, so the old entries were silently ignored during YAML parsing

Test plan

  • Verified YAML parses without errors via python3 -c "import yaml; yaml.safe_load(open('config/examples/complete.yaml'))"
  • Confirmed zero remaining tag: test occurrences
  • Confirmed 232 new tags: map entries with correct indentation

The `tag` field was removed from FilterRule in a recent refactor,
so `tag: test` entries in the example config were silently ignored.
Replace all 232 occurrences with the correct `tags:` map syntax.
@james00012 james00012 requested a review from denis256 as a code owner March 8, 2026 18:16
The deprecated `tag: test` specified a tag key, not value. The correct
replacement is `tags: { test: "true" }` (key=test, value=true), not
`tags: { Environment: "^test.*$" }`.
@james00012 james00012 force-pushed the jk/fix-config-example branch from 19df27b to 4b43c39 Compare March 10, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant