未验证 提交 aac60959 编写于 作者: S sunby 提交者: GitHub

[skip ci]Add comment for NewClient (#9753)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 a0e11893
......@@ -116,6 +116,7 @@ func getDataCoordAddress(sess *sessionutil.Session) (string, error) {
return ms.Address, nil
}
// NewClient creates a new client instance
func NewClient(ctx context.Context, metaRoot string, etcdEndpoints []string) (*Client, error) {
sess := sessionutil.NewSession(ctx, metaRoot, etcdEndpoints)
if sess == nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册