From 602b3747ee52a82e02ecfa1e72ee6933b964e2fb Mon Sep 17 00:00:00 2001 From: jingkl <34296482+jingkl@users.noreply.github.com> Date: Fri, 10 Dec 2021 21:10:42 +0800 Subject: [PATCH] [skip ci]Add notes to impl (#13176) Signed-off-by: jingkl --- internal/proxy/impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index 3818e455a4..112b224735 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -3390,6 +3390,7 @@ func (node *Proxy) checkHealthy() bool { return code == internalpb.StateCode_Healthy } +//unhealthyStatus returns the proxy not healthy status func unhealthyStatus() *commonpb.Status { return &commonpb.Status{ ErrorCode: commonpb.ErrorCode_UnexpectedError,