未验证 提交 4323b5dc 编写于 作者: B bigsheeper 提交者: GitHub

[skip ci] Add comment for HandleCStatus (#9043)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 5e785005
......@@ -62,6 +62,7 @@ func (protoCGo *ProtoCGo) destruct() {
protoCGo.blob = nil
}
// HandleCStatus deal with the error returned from CGO
func HandleCStatus(status *C.CStatus, extraInfo string) error {
if status.error_code == 0 {
return nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册