mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Fix golint error for NewServer in QueryCoord (#10678)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
4ffa8458ed
commit
d6cc578d3f
@ -61,6 +61,7 @@ type Server struct {
|
||||
closer io.Closer
|
||||
}
|
||||
|
||||
// NewServer create a new QueryCoord grpc server.
|
||||
func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) {
|
||||
ctx1, cancel := context.WithCancel(ctx)
|
||||
svr, err := qc.NewQueryCoord(ctx1, factory)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user