mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for proxy error (#9898)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/9911/head
parent
7eab390927
commit
336869b46a
|
@ -62,6 +62,7 @@ func msgProxyIsUnhealthy(id UniqueID) string {
|
|||
return fmt.Sprintf("proxy %d is unhealthy", id)
|
||||
}
|
||||
|
||||
// errProxyIsUnhealthy returns an error represent proxy is unhealthy
|
||||
func errProxyIsUnhealthy(id UniqueID) error {
|
||||
return errors.New(msgProxyIsUnhealthy(id))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue