-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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] Fix incorrect usage of iter package in aggregator #6403
Conversation
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6403 +/- ##
==========================================
- Coverage 96.27% 96.25% -0.03%
==========================================
Files 367 367
Lines 20978 20978
==========================================
- Hits 20197 20192 -5
- Misses 597 601 +4
- Partials 184 185 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
# TODO: remove once we have upgraded to Go 1.23 | ||
disallow-iter: | ||
deny: | ||
- pkg: iter |
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.
this is very odd - our go.mod says
go 1.22.7
so it should not have compiled w/ the std iter
package
…g#6403) ## Description of the changes - jaegertracing#6401 was accidentally using the official `iter` package instead of the internal one. This PR fixes that usage. - Added a linter rule so we don't accidentally use the official package again until we upgrade to Go 1.23 ## How was this change tested? - CI ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` --------- Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Description of the changes
iter
package instead of the internal one. This PR fixes that usage.How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test