enhance: Enable hook for importv2 (#39429)

/kind improvement

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/38485/head^2
yihao.dai 2025-01-21 15:15:04 +08:00 committed by GitHub
parent 89eaf92984
commit e111c9277f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2525,7 +2525,7 @@ func (h *HandlersV2) createImportJob(ctx context.Context, c *gin.Context, anyReq
return nil, err
}
}
resp, err := wrapperProxy(ctx, c, req, false, false, "/milvus.proto.milvus.MilvusService/ImportV2", func(reqCtx context.Context, req any) (interface{}, error) {
resp, err := wrapperProxy(ctx, c, req, false, false, "/milvus.proto.milvus.MilvusService/Import", func(reqCtx context.Context, req any) (interface{}, error) {
return h.proxy.ImportV2(reqCtx, req.(*internalpb.ImportRequest))
})
if err == nil {