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

Fix lint issues for golangci-lint 1.62.0 #5967

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

dmathieu
Copy link
Member

This fixes the new lint issues brough by the golangci-lint upgrade in #5966

@dmathieu dmathieu added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Nov 12, 2024
@dmathieu dmathieu marked this pull request as ready for review November 12, 2024 09:54
Copy link
Contributor

@dashpole dashpole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are min and max not allowed as variable names?

@pellared
Copy link
Member

why are min and max not allowed as variable names?

To not shadow min and max added in Go 1.21

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.6%. Comparing base (0bf9572) to head (ce781a4).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #5967     +/-   ##
=======================================
- Coverage   84.6%   84.6%   -0.1%     
=======================================
  Files        272     272             
  Lines      22897   22897             
=======================================
- Hits       19391   19390      -1     
- Misses      3162    3163      +1     
  Partials     344     344             

see 1 file with indirect coverage changes

@dmathieu dmathieu merged commit 2c15a77 into open-telemetry:main Nov 13, 2024
31 checks passed
@dmathieu dmathieu deleted the lint-fix branch November 13, 2024 07:59
@pellared pellared added this to the v1.33.0 milestone Nov 25, 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.

3 participants