mirror of https://github.com/milvus-io/milvus.git
enhance: Enable hook for importv2 (#39429)
/kind improvement Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/38485/head^2
parent
89eaf92984
commit
e111c9277f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue