diff --git a/internal/distributed/querycoord/service.go b/internal/distributed/querycoord/service.go index e5432e6053..18647fe82e 100644 --- a/internal/distributed/querycoord/service.go +++ b/internal/distributed/querycoord/service.go @@ -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)