-
Notifications
You must be signed in to change notification settings - Fork 950
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
refactor: remove cri wrapper #2613
refactor: remove cri wrapper #2613
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2613 +/- ##
=========================================
Coverage ? 69.54%
=========================================
Files ? 278
Lines ? 18642
Branches ? 0
=========================================
Hits ? 12965
Misses ? 4238
Partials ? 1439
|
66429ab
to
a4ff7a0
Compare
Maybe we should split it in a similar situation next time. |
- simplify NewStreamServer - move common util to pkg/utils Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
29618d6
to
233e1f8
Compare
Has split them into two parts. remove the time cost log for every interface. @starnop |
Got it, and LGTM again. 😄 |
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.
Just a suggestion for updating vendor: maybe we can provide the govendor command in git commit so that we can see how to update vendor.
}, | ||
{ | ||
"checksumSHA1": "Z4RIWIXH05QItZqVbmbONO9mWig=", | ||
"checksumSHA1": "G0aiY+KmzFsQLTNzRAGRhJNSj7A=", | ||
"path": "github.com/golang/protobuf/ptypes/any", |
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.
containerd current master uses github.com/golang/protobuf@v1.1.0. I am not sure that it is conflicting item when we update containerd. If it is conflicting, we can implement WithUnaryServerChain
by ourself.
233e1f8
to
64eb054
Compare
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 repush to re-trigger travis-ci. thanks!
Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
64eb054
to
837f3f2
Compare
LGTM |
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.
LGTM
Signed-off-by: zhuangqh zhuangqhc@gmail.com
Ⅰ. Describe what this PR did
using grpc interceptor to hook each grpc connection logging.
Ⅱ. Does this pull request fix one issue?
related to #2633
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
grpc logging like
fails
for read only interface, such as
crictl pods
. Just print debug log.Ⅴ. Special notes for reviews