[skip ci]Fix golint for NewServer in rootcoord (#11726)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/11749/head
cai.zhang 2021-11-12 17:59:18 +08:00 committed by GitHub
parent 9e936ebac1
commit 3b3cd61be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ func (s *Server) AlterAlias(ctx context.Context, request *milvuspb.AlterAliasReq
return s.rootCoord.AlterAlias(ctx, request)
}
// NewServer create a new RootCoord grpc server.
func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) {
ctx1, cancel := context.WithCancel(ctx)
s := &Server{