mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for HandleCStatus (#9043)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/9048/head
parent
5e78500519
commit
4323b5dc98
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue