From 66b28259d9da5e23499c38175f9a286112d11176 Mon Sep 17 00:00:00 2001 From: "edward.zeng" Date: Mon, 20 Dec 2021 19:48:53 +0800 Subject: [PATCH] [skip e2e] Refine datacoord session comment (#13796) Signed-off-by: Edward Zeng --- internal/datacoord/session.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/datacoord/session.go b/internal/datacoord/session.go index 3aba86882c..723c2fb069 100644 --- a/internal/datacoord/session.go +++ b/internal/datacoord/session.go @@ -42,7 +42,7 @@ type Session struct { isDisposed bool } -// NewSession create a new session +// NewSession creates a new session func NewSession(info *NodeInfo, creator dataNodeCreatorFunc) *Session { return &Session{ info: info, @@ -81,7 +81,7 @@ func (n *Session) initClient(ctx context.Context) (err error) { return n.client.Start() } -// Dispose release client connection +// Dispose releases client connection func (n *Session) Dispose() { n.Lock() defer n.Unlock()