mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for errQueryNodeIsUnhealthy (#12109)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/12116/head
parent
3eec882900
commit
b35c2f60ea
|
@ -21,6 +21,7 @@ func msgQueryNodeIsUnhealthy(nodeID UniqueID) string {
|
|||
return fmt.Sprintf("query node %d is not ready", nodeID)
|
||||
}
|
||||
|
||||
// errQueryNodeIsUnhealthy is the error of query node is unhealthy
|
||||
func errQueryNodeIsUnhealthy(nodeID UniqueID) error {
|
||||
return errors.New(msgQueryNodeIsUnhealthy(nodeID))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue