mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
[skip ci]Fix golint warnings in trace (#9100)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
This commit is contained in:
parent
9664554129
commit
f93981ca71
@ -19,6 +19,7 @@ import (
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// InterceptorSuite contains client option and server option
|
||||
type InterceptorSuite struct {
|
||||
ClientOpts []grpc.DialOption
|
||||
ServerOpts []grpc.ServerOption
|
||||
@ -34,6 +35,7 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
// GetInterceptorOpts returns the Option of gRPC open-tracing
|
||||
func GetInterceptorOpts() []grpc_opentracing.Option {
|
||||
tracer := opentracing.GlobalTracer()
|
||||
opts := []grpc_opentracing.Option{
|
||||
|
Loading…
Reference in New Issue
Block a user