Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip unknown fields in target allocator config #2488

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

swiatekm
Copy link
Contributor

@swiatekm swiatekm commented Jan 4, 2024

Unmarshal the target allocator config in non-strict mode, which makes it ignore fields it doesn't know, as opposed to erroring on them. This will make it easier for us to change target allocator configuration while preserving backwards compatibilty - see #2466 for example.

I don't think this is worth calling out in the changelog, but I can add an entry if anyone feels strongly about it.

@swiatekm swiatekm added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 4, 2024
@swiatekm swiatekm requested a review from a team January 4, 2024 14:09
@jaronoff97 jaronoff97 enabled auto-merge (squash) January 4, 2024 14:18
@jaronoff97 jaronoff97 merged commit 9a08cee into open-telemetry:main Jan 4, 2024
27 checks passed
@swiatekm swiatekm deleted the feat/ta-config-non-strict branch January 4, 2024 14:21
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants