Skip to content

[chore][confighttp] Fix NewDefaultServerConfig #13129

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 4 commits into from
Jun 2, 2025

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Jun 2, 2025

Description

Sets TLSSetting to nil on ServerConfig since any non-nil value with no certificates would fail at runtime.

@mx-psi mx-psi marked this pull request as ready for review June 2, 2025 14:53
@mx-psi mx-psi requested a review from a team as a code owner June 2, 2025 14:53
@mx-psi mx-psi requested a review from evan-bradley June 2, 2025 14:53
@mx-psi mx-psi enabled auto-merge June 2, 2025 15:20
Copy link

codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.48%. Comparing base (2e61528) to head (2755a58).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13129      +/-   ##
==========================================
- Coverage   91.48%   91.48%   -0.01%     
==========================================
  Files         506      506              
  Lines       28557    28555       -2     
==========================================
- Hits        26125    26123       -2     
  Misses       1917     1917              
  Partials      515      515              

☔ 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 2, 2025
Merged via the queue into open-telemetry:main with commit 8cd0191 Jun 2, 2025
56 checks passed
@mx-psi mx-psi deleted the mx-psi/make-tls-default-nil branch June 2, 2025 16:02
bogdandrutu pushed a commit to bogdandrutu/opentelemetry-collector that referenced this pull request Jun 2, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Sets `TLSSetting` to nil on `ServerConfig` since any non-nil value with
no certificates would fail at runtime.
malus2077 pushed a commit to malus2077/opentelemetry-collector that referenced this pull request Jun 3, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Sets `TLSSetting` to nil on `ServerConfig` since any non-nil value with
no certificates would fail at runtime.
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.

2 participants