mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for ListNode (#13346)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
4d578f6c13
commit
302584c59c
@ -124,6 +124,7 @@ func (nm *NodeManager) PeekClient(meta Meta) (UniqueID, types.IndexNode) {
|
||||
return nodeID, client
|
||||
}
|
||||
|
||||
// ListNode list all IndexNodes in node manager.
|
||||
func (nm *NodeManager) ListNode() []UniqueID {
|
||||
nm.lock.Lock()
|
||||
defer nm.lock.Unlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user