From 9ca90841a72f85f8a6d55b1b40ac8e07dd50cb67 Mon Sep 17 00:00:00 2001 From: Jiquan Long Date: Wed, 29 Dec 2021 14:29:37 +0800 Subject: [PATCH] [skip e2e] Add comment for initSession (#14459) Signed-off-by: dragondriver --- internal/proxy/proxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/proxy.go b/internal/proxy/proxy.go index a35fe3a9d6..4a64476a31 100644 --- a/internal/proxy/proxy.go +++ b/internal/proxy/proxy.go @@ -123,6 +123,7 @@ func (node *Proxy) Register() error { return nil } +// initSession initialize the session of Proxy. func (node *Proxy) initSession() error { node.session = sessionutil.NewSession(node.ctx, Params.ProxyCfg.MetaRootPath, Params.ProxyCfg.EtcdEndpoints) if node.session == nil {