[skip e2e] Refine datacoord session comment (#13796)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/13806/head
edward.zeng 2021-12-20 19:48:53 +08:00 committed by GitHub
parent 1848dae589
commit 66b28259d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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()