-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Alias samping.thrift and clean thrift files #6630
Conversation
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
I made alias in |
@@ -3,1361 +3,57 @@ | |||
package sampling |
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.
suggestion: instead of editing generated file, delete it and create another one sampling_alias.go
. Don't forget to run make fmt
to add the license header.
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.
okay will make these updates in a second
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.
suggestion: instead of editing generated file, delete it and create another one
sampling_alias.go
. Don't forget to runmake fmt
to add the license header.
@yurishkuro
changing the name didn't update
I updated makefile
take a look for that I think now as we are migrating all model types and making alias only it's okay to make this change to add these files to non generated files
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.
changing the name didn't update
what do you mean? mv thrift-gen/sampling/sampling.go thrift-gen/sampling/sampling_aliases.go
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.
yes when i do that it willn't get effected by make fmt
.PHONY: fmt
fmt: $(GOFUMPT)
@echo Running import-order-cleanup on ALL_SRC ...
fmt uses ALL_SRC
variable that exclude -gen folders I updated this in makefile
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6630 +/- ##
==========================================
- Coverage 95.96% 95.93% -0.03%
==========================================
Files 365 365
Lines 20616 20616
==========================================
- Hits 19784 19778 -6
- Misses 634 638 +4
- Partials 198 200 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…r to be fmted Signed-off-by: nabil salah <nabil.salah203@gmail.com>
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
Signed-off-by: Nabil Salah <nabil.salah203@gmail.com>
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
Which problem is this PR solving?
Description of the changes
How was this change tested?
make test lint
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test