[skip e2e]Add comment for errIndexNodeIsUnhealthy (#15141)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2022-01-12 11:09:36 +08:00 committed by GitHub
parent 3bf34f6326
commit 4daf0fb6b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@ func msgIndexNodeIsUnhealthy(nodeID UniqueID) string {
return fmt.Sprintf("index node %d is not ready", nodeID)
}
// errIndexNodeIsUnhealthy return an error that specified IndexNode is not healthy.
func errIndexNodeIsUnhealthy(nodeID UniqueID) error {
return errors.New(msgIndexNodeIsUnhealthy(nodeID))
}