[skip ci] Add comment for errQueryNodeIsUnhealthy (#12109)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/12116/head
bigsheeper 2021-11-18 21:41:27 +08:00 committed by GitHub
parent 3eec882900
commit b35c2f60ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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))
}