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

silence tlsCert.RootCAs.Subjects is deprecated lint err #2674

Merged
merged 4 commits into from
Mar 16, 2022

Conversation

sourikghosh
Copy link
Contributor

Signed-off-by: Sourik Ghosh sourikghosh31@gmail.com

closes #2667

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>
@pellared pellared added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Mar 14, 2022
@sourikghosh
Copy link
Contributor Author

any idea why EasyCLA workflow is not reporting ??

@MadVikingGod
Copy link
Contributor

MadVikingGod commented Mar 14, 2022

Thanks for taking this on. I didn't look into it too much because, as I said in the issue it affects 1.18. My guess was that this solution is fine especially because it's in tests.

There are two other places where Subjects() gets called, in exporters/otlp/otlpmetric/internal/otlpconfig/options_test.go and exporters/otlp/otlptrace/internal/otlpconfig/options_test.go. If we added the same nolint to those I think it would finish this.

If you want to test it install 1.18, and make sure that your golint isn't pointing to the default go version. I had to use GOROOT=~/sdk/go1.18beta2

For the EasyCLA, sometimes I've seen it mess up if you made the commit in the github web UI. If not it is a bug.

Signed-off-by: Sourik Ghosh <sourikghosh31@gmail.com>
@MrAlias
Copy link
Contributor

MrAlias commented Mar 16, 2022

Please hold merging this until we release 1.5.0 #2676

@codecov
Copy link

codecov bot commented Mar 16, 2022

Codecov Report

Merging #2674 (53876f4) into main (2cfc521) will decrease coverage by 0.0%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #2674     +/-   ##
=======================================
- Coverage   75.8%   75.8%   -0.1%     
=======================================
  Files        173     173             
  Lines      11672   11672             
=======================================
- Hits        8854    8850      -4     
- Misses      2608    2612      +4     
  Partials     210     210             
Impacted Files Coverage Δ
sdk/trace/batch_span_processor.go 80.2% <0.0%> (-1.9%) ⬇️

@MrAlias MrAlias merged commit 0fe5eee into open-telemetry:main Mar 16, 2022
@MrAlias MrAlias added this to the Release v1.6.0 milestone Mar 23, 2022
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this pull request Mar 23, 2022
MrAlias added a commit that referenced this pull request Mar 24, 2022
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.

Deprecation of x509.CertPool.Subjects()
6 participants