mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip ci]Fix golint for getOfflineNodes (#12663)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
e74b033414
commit
d237edd846
@ -712,7 +712,7 @@ func (c *queryNodeCluster) getOfflineNodes() (map[int64]Node, error) {
|
||||
}
|
||||
}
|
||||
if len(nodes) == 0 {
|
||||
return nil, errors.New("GetOfflineNodes: no queryNode is offline")
|
||||
return nil, errors.New("getOfflineNodes: no queryNode is offline")
|
||||
}
|
||||
|
||||
return nodes, nil
|
||||
|
Loading…
Reference in New Issue
Block a user