Skip to content

docs: none values should not take any value #13141

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

rogercoll
Copy link
Contributor

Description

Creating an empty Optional[T] type should not require the value.

See: https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configoptional/optional.go#L109

@rogercoll
Copy link
Contributor Author

Skip changelog 🙏

@mx-psi mx-psi added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jun 4, 2025
@mx-psi mx-psi enabled auto-merge June 4, 2025 09:03
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.26%. Comparing base (14ecff6) to head (233e813).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #13141   +/-   ##
=======================================
  Coverage   91.26%   91.26%           
=======================================
  Files         508      508           
  Lines       28747    28747           
=======================================
  Hits        26235    26235           
  Misses       1994     1994           
  Partials      518      518           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mx-psi mx-psi added this pull request to the merge queue Jun 4, 2025
Merged via the queue into open-telemetry:main with commit 0f0e1f6 Jun 4, 2025
59 of 75 checks passed
malus2077 pushed a commit to malus2077/opentelemetry-collector that referenced this pull request Jun 5, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Creating an empty Optional[T] type should not require the value.

See:
https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configoptional/optional.go#L109
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy