mirror of https://github.com/milvus-io/milvus.git
enhance: [2.4] Enable hook for importv2 (#39431)
/kind improvement pr: https://github.com/milvus-io/milvus/pull/39429 Signed-off-by: bigsheeper <yihao.dai@zilliz.com>2.4
parent
cc8e34c0b8
commit
d07ae21e8a
|
@ -2206,7 +2206,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