[skip e2e] Add comment for newLoadIndexInfo (#14883)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/14889/head
bigsheeper 2022-01-05 21:05:20 +08:00 committed by GitHub
parent fe730024ab
commit 64a5db66e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ type LoadIndexInfo struct {
cLoadIndexInfo C.CLoadIndexInfo
}
// newLoadIndexInfo returns a new LoadIndexInfo and error
func newLoadIndexInfo() (*LoadIndexInfo, error) {
var cLoadIndexInfo C.CLoadIndexInfo
status := C.NewLoadIndexInfo(&cLoadIndexInfo)