From 4daf0fb6b5b750a3709d7f1c3369fe157430d3ff Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 12 Jan 2022 11:09:36 +0800 Subject: [PATCH] [skip e2e]Add comment for errIndexNodeIsUnhealthy (#15141) Signed-off-by: cai.zhang --- internal/indexnode/errors.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/indexnode/errors.go b/internal/indexnode/errors.go index 8fdaa61952..986762e094 100644 --- a/internal/indexnode/errors.go +++ b/internal/indexnode/errors.go @@ -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)) }