open-telemetry / opentelemetry-go-contrib

Collection of extensions for OpenTelemetry-Go.
https://opentelemetry.io/
Apache License 2.0
1.22k stars 566 forks source link

Fix lint issue for golangci-lint 1.62.0 #6322

Closed dmathieu closed 1 week ago

dmathieu commented 2 weeks ago

This fixes the sole linting issue required to allow the upgrade to golangci-lint 1.62.0 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6320.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.7%. Comparing base (717e1db) to head (6a2bc78). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/6322/graphs/tree.svg?width=650&height=150&src=pr&token=P6F3W9WA7Q&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/6322?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) ```diff @@ Coverage Diff @@ ## main #6322 +/- ## ===================================== Coverage 66.7% 66.7% ===================================== Files 193 193 Lines 15565 15565 ===================================== Hits 10391 10391 Misses 4883 4883 Partials 291 291 ``` | [Files with missing lines](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/6322?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | Coverage Δ | | |---|---|---| | [bridges/otelzap/encoder.go](https://app.codecov.io/gh/open-telemetry/opentelemetry-go-contrib/pull/6322?src=pr&el=tree&filepath=bridges%2Fotelzap%2Fencoder.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-YnJpZGdlcy9vdGVsemFwL2VuY29kZXIuZ28=) | `100.0% <100.0%> (ø)` | |
pellared commented 1 week ago

Merging as trvial