mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for initSession (#14459)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/14238/head
parent
4abc4c7e1a
commit
9ca90841a7
|
@ -123,6 +123,7 @@ func (node *Proxy) Register() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// initSession initialize the session of Proxy.
|
||||||
func (node *Proxy) initSession() error {
|
func (node *Proxy) initSession() error {
|
||||||
node.session = sessionutil.NewSession(node.ctx, Params.ProxyCfg.MetaRootPath, Params.ProxyCfg.EtcdEndpoints)
|
node.session = sessionutil.NewSession(node.ctx, Params.ProxyCfg.MetaRootPath, Params.ProxyCfg.EtcdEndpoints)
|
||||||
if node.session == nil {
|
if node.session == nil {
|
||||||
|
|
Loading…
Reference in New Issue