[skip e2e] Add comment for initSession (#14459)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/14238/head
Jiquan Long 2021-12-29 14:29:37 +08:00 committed by GitHub
parent 4abc4c7e1a
commit 9ca90841a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 {