mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for ClientBase.Close (#13270)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/13288/head
parent
1cba259395
commit
4464fc4199
|
@ -228,6 +228,7 @@ func (c *ClientBase) ReCall(ctx context.Context, caller func(client interface{})
|
|||
return ret, err
|
||||
}
|
||||
|
||||
// Close close the client connection
|
||||
func (c *ClientBase) Close() error {
|
||||
c.grpcClientMtx.Lock()
|
||||
defer c.grpcClientMtx.Unlock()
|
||||
|
|
Loading…
Reference in New Issue