-
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
Restore NewGRPCHandler method #4083
Conversation
Signed-off-by: Prithvi Raj <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #4083 +/- ##
==========================================
+ Coverage 97.07% 97.08% +0.01%
==========================================
Files 300 300
Lines 17701 17715 +14
==========================================
+ Hits 17183 17199 +16
+ Misses 416 415 -1
+ Partials 102 101 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
if options.Tracer == nil { | ||
options.Tracer = opentracing.NoopTracer{} | ||
} | ||
|
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.
please add a test that passes empty options struct and validates that all 3 fields are not-nil in the result
logger: logger, | ||
tracer: tracer, | ||
nowFn: func() time.Time { | ||
grpcHandler := NewGRPCHandler(q, mq, GRPCHandlerOptions{ |
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.
+1 to actually use the func to prevent it from being deleted
Signed-off-by: Prithvi Raj <[email protected]>
Signed-off-by: Prithvi Raj [email protected]
Which problem is this PR solving?
cmd/query/app.NewGRPCHandler
removed without alternatives #4082Short description of the changes