-
Notifications
You must be signed in to change notification settings - Fork 332
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
Satisfy linter #3132
Satisfy linter #3132
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3132 +/- ##
==========================================
+ Coverage 78.29% 78.30% +0.01%
==========================================
Files 191 191
Lines 11186 11192 +6
==========================================
+ Hits 8758 8764 +6
Misses 2162 2162
Partials 266 266 ☔ View full report in Codecov by Sentry. |
/assign @skonto net-contour will work when bump contour and get the newer k8s libs |
@@ -103,9 +103,6 @@ linters: | |||
# problems with the error wrapping scheme introduced in Go 1.13. | |||
- errorlint | |||
|
|||
# Checks for pointers to enclosing loop variables. | |||
- exportloopref | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copyloopvar could be a replacement. See jaegertracing/jaeger#5976. We also use that in the networking linter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have it already -
Lines 89 to 90 in b4ff2c1
# Copyloopvar is a linter detects places where loop variables are copied. | |
- copyloopvar |
Let me know if you want to add that linter and I can stamp. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, skonto The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
see individual commits for details