opentelemetry-operator
opentelemetry-operator copied to clipboard
Enable usetesting and containedctx linter
trafficstars
Description: <Describe what has changed.>
I added 2 linter, usetesting and containedctx, to golangci-lint configuration. These can diagnose common Go bad practice in codes.
Link to tracking Issue(s): <Issue number if applicable>
- Resolves: #issue-number
Testing: <Describe what testing was performed and which tests were added.>
Documentation: <Describe the documentation added.>
I'm not against these additions, but you still have some lint checks failing in your PR. Could you address them?