mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for getOnlineNodes (#12575)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/12579/head
parent
0778e6f715
commit
6dd7afd1a4
|
@ -680,7 +680,7 @@ func (c *queryNodeCluster) getOnlineNodes() (map[int64]Node, error) {
|
|||
}
|
||||
}
|
||||
if len(nodes) == 0 {
|
||||
return nil, errors.New("GetOnlineNodes: no queryNode is alive")
|
||||
return nil, errors.New("getOnlineNodes: no queryNode is alive")
|
||||
}
|
||||
|
||||
return nodes, nil
|
||||
|
|
Loading…
Reference in New Issue